You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
shrinkwrap writes a bad protocol to npm-shrinkwrap if you originally installed from a private github repo. I.e. when the package.json dependency's protocol is git+ssh: then shrinkwrap generates a git+git+ssh: protocol.
But that code doesn't seem to run during shrinkwrap. I'm not familiar with the innards of npm, If anyone can point me in the right direction, I'd be happy to submit a pull request.
These steps to reproduce. You need a private github repo:
Greetings,
shrinkwrap writes a bad protocol to npm-shrinkwrap if you originally installed from a private github repo. I.e. when the package.json dependency's protocol is
git+ssh:
then shrinkwrap generates agit+git+ssh:
protocol.I thought perhaps I could fix it here:
npm/lib/cache/add-remote-git.js
Line 185 in 6c47201
But that code doesn't seem to run during shrinkwrap. I'm not familiar with the innards of npm, If anyone can point me in the right direction, I'd be happy to submit a pull request.
These steps to reproduce. You need a private github repo:
Now, package.json:
Now, npm-shrinkwrap.json
The text was updated successfully, but these errors were encountered: