-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] git+ssh does not work with version 8.16 #5278
Comments
The same |
Same here |
Any news? 8.18.0 version already released |
Same here. All our pipelines fail, I had to fix all NPM versions to 8.15. |
i even get now errors like npm exec not working with packages anymore when one includes a git dependencie is in the packages it does fail silently |
throw error cli/workspaces/arborist/lib/arborist/reify.js Line 721 in fa014a5
node |
@visonm I think that they need to use
instead of global version of URL, because of Node.JS global URL is strict whatwg version, but Chromium is some patched version |
You are right. you can try send a fix pr. |
@visonm created ) |
This is missing steps to reproduce. What entry in your package.json causes this? |
For example in my case access to local git server.
|
Any package comming from github or gitlab. For us that's a private gitlab repository, I can't link it here. |
@lazybobcat
|
I have the same problem and @Delagen workaround fixed it ! |
Still same problem exists! |
Same issue with npm cli bundled with nodejs 16.18.0 |
This is a serious issue that needs to get fixed ASAP! |
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Is there a solution for gitlab url for https?like this: |
I had the same problem and @Delagen workaround fixed it ! |
Did you change https to ssh and that solved it? |
Sorry, I didn't read your problem well. |
I'm https now, how to fix it without modifying it to ssh way? |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Hello
Using the latest version of npm
8.16
and latest14.20
version of node.js.I have few dependencies which i install from local git server.
When i remove
node_modules
folder and want to install packages again with commandnpm i
i get error:But with npm
8.15.1
is works fine.Expected Behavior
Packages with git+ssh path should be installed
Environment
The text was updated successfully, but these errors were encountered: