| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Why does npm ci fail? |
Sorry, something went wrong.
It is reporting corrupted tar files from the npm registry. Here are some links to some failures:
Here's what a failure looks like: Possibilities I've considered but haven't been able to reproduce:
|
Sorry, something went wrong.
|
I think it would be nice to get input from someone at @nodejs/npm |
Sorry, something went wrong.
|
It occurs to me that npm ci removes node_modules unconditionally so the failure may still happen anyway after the Build step. (Or maybe not because the relevant modules will be cached somewhere that npm-cli.js will find them? I was going to run the workflow a dozen times or whatever anyway to make sure it worked, so we'll probably find out if someone doesn't figure out a better way to address this issue.) |
Sorry, something went wrong.
There was a problem hiding this comment.
Maybe this would be better?
| run: (cd tools/doc && npm ci) | |
| run: make tools/doc/node_modules |
Sorry, something went wrong.
There was a problem hiding this comment.
This might address the concern in #41035 (comment)?
Sorry, something went wrong.
|
Five successful GitHub Actions runs in a row for this PR: Not exactly conclusive, as only 1 of the 5 runs before that failed with the npm/ZDATA error. But promising so far. |
Sorry, something went wrong.
Maybe the macOS runners have some sort of proxy in front of the registry and we're seeing npm/cli#3884? Possibly fix isaacs/minipass#28. |
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: nodejs#41035 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #41035 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #41035 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #41035 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #41035 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
|
@Trott I am getting this failure when building a Debian package inside of a Launchpad container - and only inside the Launchpad container - so I guess macOS is not to blame PS No, in fact, for me npm is failing because it cannot access the registry - it is still the same error code, sorry for the noise |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.