Closed
Description
Current Behavior:
I am installing a dependency from a private gitlab repo with git+ssh
. Every time I install it, npm takes a really long time to complete the installation. I ran it with -ddd
and noticed this:
npm http fetch GET 503 https://gitlab.com/users/sign_in 70361ms attempt #3
npm timing reifyNode:node_modules/<gitlab-package-name> Completed in 72435ms
Expected Behavior:
npm doesn't try to sign in to gitlab when installing an ssh package
Steps To Reproduce:
npm i --save git+ssh://gitlab.com/some_user/private_repo#master
Environment:
macOS 11.2.1
node 12.20.1
npm 7.5.4