Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upInquiry: Is `--no-same-owner` the possible cause for issues such as `cannot run in wd` #1310
Comments
|
@joshlangner Were you able to resolve this? I am getting a similar error but within
I am trying to run this command and getting the 'cannot run in wd' error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While researching the issue discovered when trying to run
installscripts in package.json, where I receive errorcannot run in wd(Example: https://stackoverflow.com/questions/18136746/npm-install-failed-with-cannot-run-in-wd), I suspected permission or ownership discrepancies, and traced down to where nodejs was actually being installed and by what user.Is it possible that the inclusion of
--no-same-ownercan causeinstallscripts to fail?docker-node/12/stretch/Dockerfile
Line 39 in fdd2b25
Many recommendations are to run npm with the flag
--unsafe-permor other risky actions, which, obviously, is not safe. I'd love to identify the root issue and resolve it, if possible.