package.json:
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test"
}
I run 'npm start', then:
'react-app-rewired' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! map@0.1.0 start: `react-app-rewired start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the map@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
But I run 'node_modules/.bin/react-app-rewired start' in PowerShell, it's successful.