-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: fail early in test-macos.yml #41035
Conversation
Why does |
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:
|
I think it would be nice to get input from someone at @nodejs/npm |
It occurs to me that |
.github/workflows/test-macos.yml
Outdated
# that is causing the failure and the failure doesn't happen anymore if | ||
# we run `npm ci` here first, that's also useful information.) | ||
- name: npm ci workaround | ||
run: (cd tools/doc && npm ci) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this would be better?
run: (cd tools/doc && npm ci) | |
run: make tools/doc/node_modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might address the concern in #41035 (comment)?
d780625
to
4d99903
Compare
c628380
to
f68edc4
Compare
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. |
PR-URL: nodejs#41035 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Landed in 781408f |
PR-URL: #41035 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: #41035 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: #41035 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: #41035 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: nodejs#41035 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: #41035 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
@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 |
No description provided.