Skip to content

Using [email protected], installing using git+ssh from our private git server fails, claiming "Invalid URL". The exact same URL works in [email protected].[BUG] <title> #6717

@liuchunda

Description

@liuchunda

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

I get the following error: Invalid URL: git+ssh://[email protected]:wright/plugins/wmi-plugin-core.git

Expected Behavior

The repo successfully resolves as a dependency

Steps To Reproduce

n/a

Environment

node -v v16.18.1
npm -v 8.19.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions