首页 > 解决方案 > 请提供 reactjs 中 npm 运行错误的解决方案

问题描述

我正在尝试在 react js 中运行一个 hello world,但是如果我运行 npm start 则会显示以下错误

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! helloword@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the helloword@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\User\AppData\Roaming\npm-cache\_logs\2020-04-15T17_12_06_7
00Z-debug.log

标签: reactjsnpm

解决方案


推荐阅读