protobufjs@6.8.8 postinstall: `node scripts/postinstall`
2024-09-01 20:22:56
由于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
最新文章
- [LeetCode] Top K Frequent Elements 前K个高频元素
- Util应用程序框架公共操作类(三):数据类型转换公共操作类(扩展篇)
- UTF-8编码的字符串拆分成单字、获取UTF-8字符串的字符个数的代码及原理
- 提示reg不是批处理命令怎么办
- Eclipse的模板设置代码
- 【转】身份证号码校验与信息提取 - Java 代码
- loadrunner_Controller技巧_overlay
- SpringBoot 分布式session
- SQL解决数值间隔问题
- AI Haar特征
- <;Numerical Analysis>;(by Timothy Sauer) Notes
- Java - ConcurrentMap原理
- codeforces668b //Little Artem and Dance// Codeforces Round #348
- MethodImplOptions.Synchronized的一点讨论
- 基于animation.css实现动画旋转特效
- Android学习之位图BitMap
- 混沌数学之CircuitChaotic(二维离散电路混沌系统)
- windows,cmd中进行盘符的切换
- ng-深度学习-课程笔记-14: 人脸识别和风格迁移(Week4)
- Retrofit:类型安全的REST客户端for 安卓&;Java
热门文章
- Win10如何设置插入鼠标后自动禁用触摸板
- 如何让自己的Dev C++用上C++11标准
- 《TensorFlow2深度学习》学习笔记(一)Tensorflow基础
- php桥接模式(bridge pattern)
- git---如何解决The authenticity of host can&#39;t be established.
- 项目Beta冲刺--5/7
- 封装好的cookie的三个常用函数 cookie的添加、删除、提取操作函数
- js里apply用法
- keil编译器从ac5迁移到ac6
- jlink之j-scope使用