Npm启动-npm错误! npm开始不起作用

时间:2019-07-30 12:13:39

标签: reactjs npm-scripts

试图运行npm install,npm init和npm start,但是两者都不起作用。我重新安装了nodejs,但仍然相同。如何解决?

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yathzee@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the yathzee@0.1.0 start 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!     /home/levani/.npm/_logs/2019-07-30T11_46_20_705Z-debug.log

1 个答案:

答案 0 :(得分:0)

为什么使用npm init?您足够使用npm installnpm run start