We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
I have the same on
FROM node:16-alpine as builder
with
RUN npx tsc
For me solution was
RUN NODE_ENV=development npm i
instead of
RUN npm i
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
Sorry, something went wrong.
Manually put "nom i: in the terminal and run. Comment "RUN npm install" line and try again running the same command. It worked in my case.
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..
No branches or pull requests
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: