angular-qrcode icon indicating copy to clipboard operation
angular-qrcode copied to clipboard

bower-qrcode-generator has invalid git url, sometimes it does not work.

Open ssgaur opened this issue 5 years ago • 2 comments

When I do npm install into my repository It fails with below error -

Error while executing: npm ERR! /usr/bin/git ls-remote -h -t git://github.com/monospaced/bower-qrcode-generator.git npm ERR! npm ERR! undefined npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in: npm ERR! /Users/shailendra.singh/.npm/_logs/2019-03-22T08_53_26_069Z-debug.log

After investigating I found that it is zxcvbn module which internally dependent upon monospaced/bower-qrcode-generator module. which has been fetched through github using git://github.com, Which is failing in my system (Tried with nodeV8 and nodeV11)

My simple question is why it is using git://github.com/monospaced/bower-qrcode-generator.git ? why not https://github.com/monospaced/bower-qrcode-generator.git ?

I tried git ls-remote -h -t git://github.com/monospaced/bower-qrcode-generator.git in my system which also didn't work but worked with https.

Was it intentional ? If yes can you please help me to fix this for my case ?

ssgaur avatar Mar 22 '19 09:03 ssgaur

已经彻底不能用了,这个是官方的解释 https://github.blog/2021-09-01-improving-git-protocol-security-github/ 我package-lock.json把依赖'git://github.com/monospaced/bower-qrcode-generator.git'修改为'https://github.com/monospaced/bower-qrcode-generator.git'可以了, 这个bug后期会修复吗

sjkmuninj avatar Nov 02 '21 01:11 sjkmuninj

@monospaced

sjkmuninj avatar Nov 02 '21 01:11 sjkmuninj