小编Mag*_*and的帖子

使用 ESLint 构建 react-webapp 时遇到问题;ESLint 找不到要扩展的配置“developit”

我的反应应用程序使用 正常工作npm start,但是当我尝试时npm run build遇到了麻烦。

Oops! Something went wrong! :(

ESLint: 6.8.0.

ESLint couldn't find the config "developit" to extend from. Please check that the name of the config is correct.

The config "developit" was referenced from the config file in "/home/user/beregning-innsikt/beregning-innsikt-webapp/src/main/webapp/node_modules/@babel/preset-modules/package.json".

If you still have problems, please stop by https://gitter.im/eslint/eslint to chat with the team.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! beregning-innsikt-webapp@2.0.0 lint: `eslint 'src/**/*{.ts,.tsx}'`
npm ERR! Exit status 2
npm …
Run Code Online (Sandbox Code Playgroud)

node.js npm reactjs eslint

5
推荐指数
1
解决办法
907
查看次数

标签 统计

eslint ×1

node.js ×1

npm ×1

reactjs ×1