Cannot find module '@vue/cli-plugin-eslint'
See original GitHub issueVersion
3.0.0-rc.11
Node and OS info
node v10.8.0, npm 6.2.0, macOS High Sierra
Steps to reproduce
vue create test -p default && cd test && vue-cli-service build
What is expected?
build
What is actually happening?
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module '@vue/cli-plugin-eslint'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at idToPlugin (/usr/local/lib/node_modules/@vue/cli-service/lib/Service.js:136:14)
at Array.map (<anonymous>)
at Service.resolvePlugins (/usr/local/lib/node_modules/@vue/cli-service/lib/Service.js:162:10)
at new Service (/usr/local/lib/node_modules/@vue/cli-service/lib/Service.js:33:25)
at Object.<anonymous> (/usr/local/lib/node_modules/@vue/cli-service/bin/vue-cli-service.js:16:17)
at Module._compile (internal/modules/cjs/loader.js:689:30)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6 (4 by maintainers)
Top Results From Across the Web
@vue/cli-plugin-eslint - npm
Start using @vue/cli-plugin-eslint in your project by running `npm i @vue/cli-plugin-eslint`. There are 167 other projects in the npm ...
Read more >How to solve Error: Cannot find module 'vue-cli-plugin-vuetify'
Run:npm i / npm install. That worked for me.
Read more >@vue/cli-plugin-eslint - npm Package Health Analysis | Snyk
The npm package @vue/cli-plugin-eslint was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as...
Read more >vue/cli-plugin-eslint
Vue CLI is in Maintenance Mode! For new projects, it is now recommended to use create-vue to scaffold Vite-based projects.
Read more >Error: Cannot find module '@vue/cli-plugin-babel/preset'
[Solved]-Error: Cannot find module '@vue/cli-plugin-babel/preset'-Vue.js ... Adding @vue/cli-plugin-babel/preset as one of the devDependencies should solve the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m getting this same problem with
npm run build
:Version: 3.0.0-beta.9 Node: 10.0.0 macOS: 10.13.5
vue-cli-service
should not be called directly. You need to call it bynpm run build
or with a path prefix./node_modules/.bin/vue-cli-service build
.