我正在尝试运行我的React项目,但我无法运行它。该项目包含启用eslint的typescript。我试图在之前的asked questions Question的帮助下解决这个问题,但这对我不起作用。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! slipstream-frontend@0.3.0 lint: `eslint --ext js,ts,tsx src`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the slipstream-frontend@0.3.0 lint 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\ROHIT AGGARWAL\AppData\Roaming\npm-cache\_logs\2020-10-12T06_02_13_786Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! slipstream-frontend@0.3.0 prestart: `npm run lint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the slipstream-frontend@0.3.0 prestart 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\ROHIT AGGARWAL\AppData\Roaming\npm-cache\_logs\2020-10-12T06_02_15_471Z-debug.log我曾尝试删除package.json文件,然后
npm cache clean
npm install这对我不起作用。
发布于 2020-10-12 14:21:46
是的,这可能会发生,从终端中的命令开始
npm单元react-应用程序app_name
cd app_name
npm启动
https://stackoverflow.com/questions/64312549
复制相似问题