vue cli安裝出錯問題

2021-08-26 17:47:46 字數 896 閱讀 8607

錯誤:ps c:\windows\system32> npm install vue-cli -g

npm warn deprecated [email protected]: coffeescript on npm has moved to "coffeescript" (no hyphen)

npm err! code eintegrity

npm err! sha1-psc74fopoqc5ijjstv9cw0tue10= integrity checksum failed when using sha1: wanted sha1-psc74fopoqc5ijjstv9cw0tue10= but got sha1-7qoe24faxu2xa3xfj0g9ijtfccu=. (1518 bytes)

npm err! a complete log of this run can be found in:

npm err!     c:\nvmdata\nvm\npm\node_cache\_logs\2018-09-01t04_10_13_466z-debug.log

有幾個方式可以試試

已檢過過node和npm版本的話,再檢查下 vue-cli 的版本是否最新

其次檢查eslint是否在全域性node_modules進行了安排

可以對全域性快取做一次處理或者清理排查看看,哪些失效了

# 逐條試試

npm ls --depth 0 -g // 看看哪些失效了

npm prune -g // 修剪下全域性包

npm rebuild -g // 重建下全域性包

npm update -g // 更新下全域性包的版本

npm cache clear --force -g // 刪除全域性包的快取(慎重)

rails 安裝出錯

gem install bundler rails menxu debian 文件 ruby bundle v error gem bundler is not installed,run gem install bundler first.menxu debian 文件 ruby gem inst...

MySql安裝出錯

最近mysql安裝出現問題 1.作業系統不同,安裝過程中刪除,清理也不同 window 7 安裝mysql過程中,最後安裝到start service的時候提示服務有問題,然後解除安裝,解除安裝後按照還是同樣的錯誤,下面就說解除安裝過程如何全面解除安裝乾淨 1 找到mysql安裝路徑,目前預設c盤,...

MCScanX安裝出錯

cd mcscanx的目錄之後 make 結果報錯,錯誤為 g struct.cc mcscan.cc read data.cc out utils.cc dagchainer.cc msa.cc permutation.cc o mcscanx struct.cc 48 5 error use o...