-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: windows releases should not include npm tests #22901
Comments
I have the same file from See: cc @nodejs/npm |
I don't think npm tests are needed to run npm? We could try to remove them from the binary distribution. |
Relavent code is here: Line 339 in a7b59d6
|
Hmm, any reason vcbuild.bat does not use tools/install.py? That script does skip the test directory. cc @nodejs/build-files Line 87 in a7b59d6
|
Well for one thing the install location is different ( Line 78 in a7b59d6
and symlinks created by the following aren't there or used on Windows: Lines 91 to 107 in a7b59d6
edit: Also note that |
(Edit: more changes were necessary for the installer) |
npm test directories are excluded on other platforms by `tools/install.py`. Do the same on Windows. Fixes: nodejs#22901 PR-URL: nodejs#23001 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com>
Node 10.10 with NPM 6.4.1
Is there any reason why npm has test directory inside ?
It creates a long path for Windows and fails to install:
node_modules\npm\test\npm_cache\content-v2\sha512\76\39\4b378512c68bf209b433e06b71df27a45f7e7be35f174a0f83bce7799628b74dbe993c18b1c12e899a1ed7b159470b382180d1f0a5c4098ac6092cda1a8f
The text was updated successfully, but these errors were encountered: