Hi everyone,
I’m encountering an issue when trying to deploy my app using Fly.io. When I run the command flyctl deploy --remote-only, I get the following error:
Error: Failed to fetch an image or build from source: error building: was unable to solve: process “/bin/sh -c npm install --omit=dev” did not complete successfully: exit code: 1
It seems like the deployment process is failing at the npm install --omit=dev step. I’ve checked my package.json and Dockerfile, and everything looks correct to me.
I’ve tried searching for solutions but haven’t found anything that resolves this issue. Has anyone encountered a similar problem or have any suggestions on how to fix it?
