簡體   English   中英

使用npm安裝任何軟件包時出錯

[英]Error installing any package using npm

當我安裝任何軟件包時,都會出現此錯誤。

npm ERR! 代碼E500

npm ERR! 500內部服務器錯誤:jsdom @ latest

我的npm怎么了?

確定,我刪除了所有,並安裝了節點v8.11.3和npm 5.6.0,但在終端中建議我最后更新npm,但現在向我顯示此錯誤

npm i -g npm

npm ERR! code EINTEGRITY

npm ERR! sha512-e38cCtJ0lEjLXXpc4twEfj8Xw5hDLolc2Py87ueWnUhJfZ8GA/5RVIeD+XbSr1+aVRGsRsdtLdzUNO63PvQJ1w== integrity checksum failed when using sha512: wanted sha512-e38cCtJ0lEjLXXpc4twEfj8Xw5hDLolc2Py87ueWnUhJfZ8GA/5RVIeD+XbSr1+aVRGsRsdtLdzUNO63PvQJ1w== but got sha512-mtehl59WPxzYV2c2doa5MJ8+VJ7LI1VXWYPxyrfupTSGLZfzMrtGqxmi3nyTRj44+4zunOe0O2aNx3JLFUkiSA==. (5376652 bytes)

npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: npm ERR! /home/haroldv22/.npm/_logs/2018-06-15T13_02_32_098Z-debug.log npm ERR! /home/haroldv22/.npm/_logs/2018-06-15T13_02_32_098Z-debug.log

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM