-
Notifications
You must be signed in to change notification settings - Fork 1.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
npm config set tarball no longer supported by npm as of npm v9.3.1 #2800
Comments
Hello, there is a very similar issue to this one #2798. In short, the workaround is to downgrade npm. For more details on what caused this behavior and when it started, please visit the see npm/cli#6126 (comment) |
Is there any recommended approach to this? Looks like the CC @cclauss |
Not sure what the use case is here, but hopefully this is of some help to others. I managed to get around the issue when using yarn by doing
|
Try using |
I had this issue and initially downgraded npm to get the old behaviour to work. The following worked with npm 9.6.7
|
As others have posted, the preferred way to set npm configs is put |
npm config set tarball not working anymore
Is there any workaround? We were using the tarball option to prevent the download of the node headers from internet as our environment doesn't have an internet access. Simply passing it to node-gyp doesn't work because a sub dependency which we don't have in our hand need node-gyp
Executed command
npm details:
npm config ls -l
to show all defaults.Verbose output:
The text was updated successfully, but these errors were encountered: