Q1:? ?【轉】Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
應該是因為網(wǎng)絡無法透過git:// 方式將package download下來
需要去清除緩存:npm cache clear
修改Download方式:? ?git config --global url."https://".insteadOf git://
如果還有些警告提示,可以嘗試更新npm版本:npm install -g npm