楼主#更多 发布于：2021-04-21 09:11
7. Try running npm ls eslint in your project folder.
This will tell you which other package (apart from the expected react-scripts) installed eslint.
If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That would permanently disable this preflight check in case you want to proceed anyway.
P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!
npm ERR! code ELIFECYCLE
npm ERR! firstname.lastname@example.org start: `react-scripts start`
npm ERR! Exit status 1
npm ERR! Failed at the email@example.com 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\huangmingwei\AppData\Roaming\npm-cache\_logs\2021-04-21T00_59_44_391Z-debug.log
You can now view project01 in the browser.
On Your Network: http://172.17.6.249:3000
Note that the development build is not optimized.
To create a production build, use yarn build.