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 latest 14.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 command npm i i get error:
2833 verbose stack TypeError [ERR_INVALID_URL]: Invalid URL: git+ssh://git@***:frontend/utils.git#6d45447e0c5eb6cd2e3edf05a8c5a9bb81950c79
2833 verbose stack at new NodeError (internal/errors.js:322:7)
2833 verbose stack at onParseError (internal/url.js:270:9)
2833 verbose stack at new URL (internal/url.js:346:5)
2833 verbose stack at Arborist.[registryResolved] (***/.nvm/versions/node/v14.20.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:721:25)
2833 verbose stack at Arborist.[extractOrLink] (***/.nvm/versions/node/v14.20.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:641:72)
2833 verbose stack at ***/.nvm/versions/node/v14.20.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:607:35
But with npm 8.15.1 is works fine.
Expected Behavior
Packages with git+ssh path should be installed
Environment
- npm: 8.16.0
- Node.js: v14.20.0
- OS Name: MacOS 11.6.8
- System Model Name: Macbook Pro
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.16and latest14.20version of node.js.I have few dependencies which i install from local git server.
When i remove
node_modulesfolder and want to install packages again with commandnpm ii get error:But with npm
8.15.1is works fine.Expected Behavior
Packages with git+ssh path should be installed
Environment