npm ERR! code ELIFECYCLE npm ERR! errno 134 npm ERR! [email protected] nativeBuild: `react-app-rewired bui

本地编译报错,报错信息如下

npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! [email protected] nativeBuild: react-app-rewired build
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the [email protected] nativeBuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Murphy\AppData\Roaming\npm-cache_logs\2020-04-09T06_12_07_803Z-debug.log

解决方法,更新一下node就可以了

1.通过npm更新node npm更新node命令(该方法会有一些坑,使用起来可能不会太顺利,不过很有意思)
2.直接去 node官网 下载最新node

发布了30 篇原创文章 · 获赞 6 · 访问量 4722

猜你喜欢

转载自blog.csdn.net/EcbJS/article/details/105411028
今日推荐