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