個人日誌026——複製vue-element-admin項目時報錯

公司項目用的vue-element-admin,這幾天在家辦公,然後我複製一份到家裏面電腦,可是npm install一直報錯:undefined ls-remote -h -t ssh://[email protected]/sohee-lee7/Squire.git

經過百度後得出解決辦法:

git config --global url."https://".insteadOf git://


然後再去npm install 就正常了

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章