standard / eslint-config-standard

ESLint Config for JavaScript Standard Style

Home Page:https://standardjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Cannot find module '@vue/cli-service/webpack.config.js'

hawkeye64 opened this issue · comments

What version of this package are you using?
v5.1.1

What operating system, Node.js, and npm version?
Ubuntu v18.04
Node v12.16.0
Yarn 1.21.1

What happened?
Updated my packages and get the following when eslint is run:

Module Warning (from ./node_modules/eslint-loader/dist/cjs.js):
Cannot read config file: /home/intelliview/git/projects/NewCode/System_Console/projects/web/src/client/node_modules/@vue/eslint-config-standard/index.js
Error: Cannot find module '@vue/cli-service/webpack.config.js'
Require stack:
- /home/intelliview/git/projects/NewCode/System_Console/projects/web/src/client/node_modules/@vue/eslint-config-standard/index.js
- /home/intelliview/git/projects/NewCode/System_Console/projects/web/src/client/node_modules/eslint/lib/cli-engine/config-array-factory.js
- /home/intelliview/git/projects/NewCode/System_Console/projects/web/src/client/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js
- /home/intelliview/git/projects/NewCode/System_Console/projects/web/src/client/node_modules/eslint/lib/cli-engine/cli-engine.js
- /home/intelliview/git/projects/NewCode/System_Console/projects/web/src/client/node_modules/eslint/lib/cli-engine/index.js
- /home/intelliview/git/projects/NewCode/System_Console/projects/web/src/client/node_modules/eslint/lib/api.js

What did you expect to happen?
No issues for lack of finding a config file. It appears to be looking for '@vue/cli-service/webpack.config.js'. Was this always the case or a breaking change?? We are trying to get a build done at work and now cannot.

We tried installing:

yarn add -D @vue/cli-service

As much as we'd like Vue eslinting, it appears we'll be forced to rmeove.

Are you willing to submit a pull request to fix this bug?

Sorry, wrong repo