vue-element-admin項目npm install報錯

今天在github上克隆了vue-element-admin後,按照文檔的步驟,運行了vue

  1. gitclone https://github.com/PanJiaChen...
  2. npm install --registry=https://registry.npm.taobao.org
  3. npm install的時候,出現了報錯以下:
    undefined ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git
    npm install報錯.png
    而後我浪費了一個多小時解決不了,我心中有一萬個那啥在奔騰,後來我就查詢了資料後,須要把git 在C盤目錄地址複製在全局變量裏就能夠運行,我試了一下,而後再運行npm install, 而後就成功了,
    image.png
    我都快哭了,MMP
    image.png就是這樣,謝謝觀看!
相關文章
相關標籤/搜索