‘react-app-rewired‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! m

巫马星雨
2023-12-01
'react-app-rewired' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@ start: react-app-rewired start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-app@ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

解决办法是重新下载一遍react-app-rewired.

yarn add react-app-rewired customize-cra
 类似资料: