首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >启动npm启动失败

问启动npm启动失败
EN

Stack Overflow用户
提问于 2020-10-12 14:13:22
回答 1查看 226关注 0票数 0

我正在尝试运行我的React项目,但我无法运行它。该项目包含启用eslint的typescript。我试图在之前的asked questions Question的帮助下解决这个问题,但这对我不起作用。

代码语言:javascript
复制
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文件,然后

代码语言:javascript
复制
npm cache clean
npm install

这对我不起作用。

EN

回答 1

Stack Overflow用户

发布于 2020-10-12 14:21:46

是的,这可能会发生,从终端中的命令开始

npm单元react-应用程序app_name

cd app_name

npm启动

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64312549

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档