-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1 #339
Comments
I have the same on
with
For me solution was
instead of
and reason is: your dev packages are not installed if you have NODE_ENV=production. source https://stackoverflow.com/questions/67199539/tsc-not-found-in-docker-build |
Manually put "nom i: in the terminal and run. |
I got this issue too, but how do you run the nom i in terminal? and RUN doesn't work when put manually fro some reason.. |
Since app user don’t have permissions on app folder and files that were created by root user, Here the command : RUN chown -R app /app , |
ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1 |
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered: