-
-
Notifications
You must be signed in to change notification settings - Fork 306
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
ds300, theY4Kman, infostreams, tmtron, jmendiara and 19 moretheY4Kman, thomas-martin-insign, gregoreesmaa, JoxieMedina, martindzejky and 1 more
Metadata
Metadata
Assignees
Labels
No labels