You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running an npm install . in a Docker container in CI.
With NPM 6.13.2 it fails with EPERM during child process creation (stdout/err below).
With NPM 6.9.2 it suceeds.
I did not carefully bisect, i.e. I did not try npm 6.10.x or 6.11.x.
There are no obvious permission issues: the unix user executing the npm install . in the container has as of my (I think rather experienced) judgement all required privileges that it needs to do things; the EPERM during child process creation came completely out-of-the-blue for me.
The fact that the install "just works" with NPM 6.9.2 leads me to suspect that there potentially is a bug in more recent versions of NPM.
Fortunately, I have a reproducible CI environment at hand. While I cannot provide a complete repro for you to execute locally, I at least can tell for sure that switching the NPM version reproducibly did the trick for me (no other parameters changed).
The problem might be rare, but I found the same symptoms described in these two threads from the recent weeks:
npm install .
in a Docker container in CI.6.13.2
it fails withEPERM
during child process creation (stdout/err below).6.9.2
it suceeds.npm install .
in the container has as of my (I think rather experienced) judgement all required privileges that it needs to do things; theEPERM
during child process creation came completely out-of-the-blue for me.Fortunately, I have a reproducible CI environment at hand. While I cannot provide a complete repro for you to execute locally, I at least can tell for sure that switching the NPM version reproducibly did the trick for me (no other parameters changed).
The problem might be rare, but I found the same symptoms described in these two threads from the recent weeks:
Notably, I think this post contains highly relevant detail for root-causing and mitigating this: https://npm.community/t/npm-6-11-x-breaks-npm-ci-with-eperm-error-for-private-github-package/9872/3
With
npm/6.13.2
(build log 308, 191204, for my own reference)
With
npm/6.9.2
Installation succeeds:
(build log 309, 191204, for my own reference)
Sorry that at this time I am not in the position to provide a complete repro.
The text was updated successfully, but these errors were encountered: