Skip to content
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] DeprecationWarning for git+ssh:// dependencies #7839

Open
2 tasks done
shivamconan opened this issue Oct 16, 2024 · 1 comment
Open
2 tasks done

[BUG] DeprecationWarning for git+ssh:// dependencies #7839

shivamconan opened this issue Oct 16, 2024 · 1 comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@shivamconan
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • 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 is invalid. Future versions of Node.js will throw an error.

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
@shivamconan shivamconan added Bug thing that needs fixing Needs Triage needs review for next steps labels Oct 16, 2024
@milaninfy
Copy link
Contributor

Are you doing yarn install or npm install ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

2 participants