公司項目用的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 就正常了
公司項目用的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 就正常了
一. 二. 三. ! 作 者 : Yaopengfei(姚鵬飛) 博客地址 : http://www.cnblogs.com