Reactjs React Js can';t使用npm启动运行
我想运行我的项目,但npm启动错误-_-Reactjs React Js can';t使用npm启动运行,reactjs,npm,Reactjs,Npm,我想运行我的项目,但npm启动错误-_- npm ERR! errno 1 npm ERR! breednder-project@0.1.0 start: `react-scripts start` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the breednder-project@0.1.0 start script. npm ERR! This is probably not a problem with npm. There
npm ERR! errno 1
npm ERR! breednder-project@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the breednder-project@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/aziz/.npm/_logs/2020-02-15T09_11_32_000Z-debug.log```
您是否尝试恢复依赖项? 运行
npm安装
并确保至少从节点和npm版本开始
npm超过6个,节点超过10个
npm -v
node -v
最后,尝试删除节点_模块和包锁
然后再做一次npm i我以前有过这个问题,所以我将分享我的问题: 在package.json中,只需验证start命令的完整性。还可以尝试
npm运行启动(将运行添加到其中)
能否显示错误日志文件/home/aziz/.npm/_logs/2020-02-15T09_11_32_000Z-debug.log
使用“sudo npm start”运行项目,我的linux上的问题是权限问题
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},