question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vue create node under v8.10.0: Error: Failed to resolve plugin: @vue/cli-service

See original GitHub issue

Version

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:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:26 (11 by maintainers)

github_iconTop GitHub Comments

7reactions
Akryumcommented, May 30, 2018

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:

capture d ecran 2018-05-30 a 09 48 24

3reactions
andrewbusch7commented, May 29, 2018

Happening for me on Win 7 with 3.0.0-beta.14

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found