node.js - 使用 npm 安装任何软件包时出错
问题描述
当我安装任何软件包时,我会收到此错误。
npm 错误!代码 E500
npm 错误!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! /home/haroldv22/.npm/_logs/2018-06-15T13_02_32_098Z-debug.log
推荐阅读
- vba - 在 LibreOffice Calc 中自动化图表的标题
- python - 数据科学名称错误:在 spyder 中使用 python
- spring - R2DBC 无法读取 oracle 数据库的 URL
- java - 对对象的公共引用
- security - 如何为单个用户实现多个身份验证提供程序
- python - Python - [Errno 13] 权限被拒绝。无法打开文件
- vue.js - vue 引导表的自定义模板
- c# - ASP.NET C# WebAPI 中的 IronWebScraper 不调用 Parse
- javascript - JavaScript 在 defineProperty 中使用原始的 getter/setter
- python - Python异步进程以不同的顺序执行