Error when building to fly.io

Following this tutorial, but hitting an error during the following step:

flyctl deploy --remote-only

Reports:

 => CACHED [base 2/2] WORKDIR /app                                                                             0.0s
 => CACHED [build 1/5] RUN apt-get update -qq &&     apt-get install -y python-is-python3 pkg-config build-es  0.0s
 => CACHED [build 2/5] COPY --link package.json package-lock.json .                                            0.0s
 => CACHED [build 3/5] RUN npm install                                                                         0.0s
 => CACHED [build 4/5] COPY --link . .                                                                         0.0s
 => ERROR [build 5/5] RUN npm run build                                                                        0.2s

Shopify Error:

0.227 
0.230 sh: 1: shopify: not found

verified using Shopify CLI version 3.61.0

Final Error in CLI:

Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 127

Ensured deletion of node models, reran npm i install and npm build

Hi @Kamaboko ,

Are you able to solve the issue?

I am facing the same issue.

Thank you

no luck, hitting this error again. were you ever able to resolve either?

of course, just as I complain about it, just figured it out, it had to do with an unused import on my app.proxy.jsx file. I also used the command below to deploy:

flyctl deploy --build-arg SHOPIFY_API_KEY=