vue create node under v8.10.0: Error: Failed to resolve plugin: @vue/cli-service
See original GitHub issueVersion
3.0.0-beta.14
Reproduction link
https://github.com/vuejs/vue-cli
Steps to reproduce
npm i -g @vue/cli
or yarn add global @vue/cli
.
Then run vue create <project-name>
and select default settings.
What is expected?
Command to scaffold project and install dependencies.
What is actually happening?
Command creates package.json
, package-lock.json
files and installs some (or all?) dependencies into node_modules
dir, but doesn’t scaffold any other files.
It fails with error:
🚀 Invoking generators...
ERROR Error: Failed to resolve plugin: @vue/cli-service
Error: Failed to resolve plugin: @vue/cli-service
at Creator.resolvePlugins (/Users/ziga/.nvm/versions/node/v8.9.4/lib/node_modules/@vue/cli/lib/Creator.js:303:15)
at Creator.create (/Users/ziga/.nvm/versions/node/v8.9.4/lib/node_modules/@vue/cli/lib/Creator.js:146:32)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:12
- Comments:26 (11 by maintainers)
Top Results From Across the Web
How to solve vue-cli-service: not found proplem on heroku?
I had the same problem a few days ago, I am new with Vue.js and Heroku, but I was able to find this...
Read more >CLI Service - Vue CLI
Inside a Vue CLI project, @vue/cli-service installs a binary named vue-cli-service . You can access the binary directly as vue-cli-service in ...
Read more >VueJS website won't deploy npm run dev gives error
So I am trying to deploy my VueJS website with the Vue Material Kit ... (npm v8.5.0) 8:11:36 PM: Started restoring cached build...
Read more >cannot find module 'vue-loader' - You.com | The AI Search ...
And for keeping your package.json more clean, you could make an .eslintrc.js file ... it gave me a new error Failed to resolve...
Read more >@vue/cli-service - Awesome JS
@vue/cli-plugin-e2e-cypress. [697bb44] fix: should correctly resolve cypress bin path for Cypress 10 (Note that the project is still created with Cypress 9 ...
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 FreeTop 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
Top GitHub Comments
Yes it’s related. So the working version of
require.resolve(request, options)
is 8.10.0, thanks!I implemented a fallback resolver for older versions of node:
Happening for me on Win 7 with 3.0.0-beta.14