Node.js can';t运行:npm在react上启动
当我尝试使用npm start运行我的项目时,它确实显示了此错误,我似乎不清楚:Node.js can';t运行:npm在react上启动,node.js,reactjs,npm,Node.js,Reactjs,Npm,当我尝试使用npm start运行我的项目时,它确实显示了此错误,我似乎不清楚: react-app-rewired start The "path" argument must be of type string or an instance of Buffer or URL. Received undefined npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! webapp@0.1.0 start: `react-app-rewired
react-app-rewired start
The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webapp@0.1.0 start: `react-app-rewired start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webapp@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! C:\Users\kilanh\AppData\Roaming\npm-cache\_logs\2020-03-11T09_43_14_766Z-debug.log
- 我遇到了同样的问题,我认为问题在于npm与纱线的配合,它工作良好,请尝试以下方法:
- 删除锁定文件
- 删除节点单元模块
- 跑“纱”
- 运行“纱线启动”