cli
cli copied to clipboard
[BUG] DeprecationWarning for git+ssh:// dependencies
Is there an existing issue for this?
- [X] I have searched the existing issues
This issue exists in the latest npm version
- [X] I am using the latest npm
Current Behavior
We are facing DEP0170 behavior in latest NPM.
{
"dependencies": {
"something-private": "git+ssh://git@<url>.example.com:group/project.git#commitish"
}
}
throws - The URL
Expected Behavior
URL should work as mentioned in documentation?
Steps To Reproduce
Install npm 10.9.0
Install node 22.9.0
Specify a dependency as mentioned above
yarn install
Environment
- npm:
- Node.js:
- OS Name:
- System Model Name:
- npm config:
; copy and paste output from `npm config ls` here
Are you doing yarn install or npm install ?
Closing due to age. If this is still a problem please feel free to reopen this issue, or create a new issue w/ steps to reproduce.