由于Node.js 版本太低了, 使用最新版用 Node.js

===================================

以下解决方法来源于网络

npm ERR! Windows_NT 6.3.
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "@vue/cli"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! file C:\Windows\system32\cmd.exe
npm ERR! path C:\Windows\system32\cmd.exe
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn C:\Windows\system32\cmd.exe npm ERR! protobufjs@6.8. postinstall: `node scripts/postinstall`
npm ERR! spawn C:\Windows\system32\cmd.exe ENOENT
npm ERR!
npm ERR! Failed at the protobufjs@6.8. postinstall script 'node scripts/postinstall'.
npm ERR! This is most likely a problem with the protobufjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/postinstall
npm ERR! You can get their info via:
npm ERR! npm owner ls protobufjs
npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:
npm ERR! D:\OpenSource\ant-design-pro-vue\npm-debug.log

解决办法

npm install @vue/cli -g --ignore-scripts

npm install protobufjs -g --ignore-scripts

最新文章

  1. [LeetCode] Top K Frequent Elements 前K个高频元素
  2. Util应用程序框架公共操作类(三):数据类型转换公共操作类(扩展篇)
  3. UTF-8编码的字符串拆分成单字、获取UTF-8字符串的字符个数的代码及原理
  4. 提示reg不是批处理命令怎么办
  5. Eclipse的模板设置代码
  6. 【转】身份证号码校验与信息提取 - Java 代码
  7. loadrunner_Controller技巧_overlay
  8. SpringBoot 分布式session
  9. SQL解决数值间隔问题
  10. AI Haar特征
  11. <Numerical Analysis>(by Timothy Sauer) Notes
  12. Java - ConcurrentMap原理
  13. codeforces668b //Little Artem and Dance// Codeforces Round #348
  14. MethodImplOptions.Synchronized的一点讨论
  15. 基于animation.css实现动画旋转特效
  16. Android学习之位图BitMap
  17. 混沌数学之CircuitChaotic(二维离散电路混沌系统)
  18. windows,cmd中进行盘符的切换
  19. ng-深度学习-课程笔记-14: 人脸识别和风格迁移(Week4)
  20. Retrofit:类型安全的REST客户端for 安卓&Java

热门文章

  1. Win10如何设置插入鼠标后自动禁用触摸板
  2. 如何让自己的Dev C++用上C++11标准
  3. 《TensorFlow2深度学习》学习笔记(一)Tensorflow基础
  4. php桥接模式(bridge pattern)
  5. git---如何解决The authenticity of host can't be established.
  6. 项目Beta冲刺--5/7
  7. 封装好的cookie的三个常用函数 cookie的添加、删除、提取操作函数
  8. js里apply用法
  9. keil编译器从ac5迁移到ac6
  10. jlink之j-scope使用