使用react-app-rewired启动react项目报错(解决办法)
```
PS D:\myself\my-app> npm start
> [email protected] start D:\myself\my-app
> react-app-rewired start
'react-app-rewired' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `react-app-rewired start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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\27619\AppData\Roaming\npm-cache\_logs\2018-06-28T09_30_12_310Z-debug.log
```
解决方法:把你安装的依赖重新安装一遍
问题2
修改配置文件:
以上是 使用react-app-rewired启动react项目报错(解决办法) 的全部内容, 来源链接: utcz.com/z/383589.html