-
-
Notifications
You must be signed in to change notification settings - Fork 295
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
Patch Package fails on Gitlab CI (Docker) #185
Comments
Thank you for mentioning this! Saved me a lot of headache in our build process :) |
I added this to the README. Thanks so much for sharing 🙏 ❤️ |
a bit off topic but if you are running on docker remember also to copy your |
Another solution is to run If you're using the official node Docker images, it ships with a non-root user called |
When trying to run a patch-package during a Docker build on CI (Gitlab) it fails with the following error.
In order to fix this you need to add a
.npmrc
file with the following declaration making sure to copy the file to your Dockerfile.The above information should be added to the
README.md
file for other usersThe text was updated successfully, but these errors were encountered: