-
-
Notifications
You must be signed in to change notification settings - Fork 320
Closed
Description
When trying to run a patch-package during a Docker build on CI (Gitlab) it fails with the following error.
npm WARN lifecycle <packagename>~postinstall: cannot run in wd <packagename> patch-package (wd=/app)
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.
unsafe-perm = true
The above information should be added to the README.md file for other users
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels