reactjs - 请提供 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
解决方案
推荐阅读
- python-3.x - Web3 python:我如何解码输入数据
- docker - 有没有办法在默认情况下使用 docker compose 构建而没有 --parallel ?
- r - 编写良好数据集以执行混合模型分析的棘手方法
- python - 如何在 Mac 上离线运行 VPython
- pandas - 迭代 Pandas DataFrame 的重复分区/组
- json - 我如何阅读这个 json 并迅速将其更改为字典?
- c++ - 需要一些关于 C++ 中“交换”函数的帮助
- javascript - Mat-Error 首次打开表单时显示必需的验证错误消息
- c++ - 使用 for 循环的 C++ 中的分段错误
- c# - WPF Datagrid 列标题中的文本框过滤器