vue项目报错,npm install 报错

1.报错问题:

npm ERR! cb()never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!
<https://npm.community>
9
npm ERR!A complete log of this run can be found in:npm ERR!C:\Users\Administrator AppData Roaming npm-cache logs 2020-12-16T07_38_47_793Z-debug.log

2.解决办法

你的node的版本不对,需要看你项目中的node的版本,然后换个版本即可;

你也可以使用nvm,快速管理你的node.js版本,它是一个nvm版本管理工具,很方便

相关推荐

  1. vue项目cnpm i

    2024-03-22 09:00:06       34 阅读
  2. Qt项目打包

    2024-03-22 09:00:06       27 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-22 09:00:06       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-22 09:00:06       101 阅读
  3. 在Django里面运行非项目文件

    2024-03-22 09:00:06       82 阅读
  4. Python语言-面向对象

    2024-03-22 09:00:06       91 阅读

热门阅读

  1. DeepLearning in Pytorch|手写数字识别器_minst_convnet

    2024-03-22 09:00:06       33 阅读
  2. Pytorch: torch.mean()

    2024-03-22 09:00:06       39 阅读
  3. pytorch与大语言模型直接偏好优化DPO方法

    2024-03-22 09:00:06       45 阅读
  4. 【Python】Pycharm 的 python_stubs

    2024-03-22 09:00:06       38 阅读
  5. PYTorch训练和推理 指定GPU

    2024-03-22 09:00:06       38 阅读
  6. Visual Studio工程升级QT产生的问题及解决

    2024-03-22 09:00:06       44 阅读
  7. WPF —— ToolTip详解

    2024-03-22 09:00:06       44 阅读
  8. 设计模式(行为型设计模式——备忘录模式)

    2024-03-22 09:00:06       44 阅读
  9. 【Django】CORS跨域问题

    2024-03-22 09:00:06       40 阅读