使用npm

时间:2018-06-13 13:33:20

标签: node.js npm npm-install

当我安装任何软件包时,我收到此错误。

  

npm ERR!代码E500

     

npm ERR! 500内部服务器错误:jsdom @ latest

我的npm发生了什么事?

1 个答案:

答案 0 :(得分:0)

好的我删除了所有,我安装了节点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! /home/haroldv22/.npm/_logs/2018-06-15T13_02_32_098Z-debug.log