ERROR Error: Failed to resolve plugin: @vue/cli-service
Version
3.0.0-rc.2
Reproduction link
https://uhh.should.i.put.an.ascinemma.here
Steps to reproduce
- Run
vue create project-name - Choose default settings
- Error!
What is expected?
For project to successfully create
What is actually happening?
ERROR Error: Failed to resolve plugin: @vue/cli-service
What is your Node version?
Latest, 10.4.1 I think?
vue-cli 3.0.0-rc.2 node 10.4.1 Windows 10
Installation went flawless :)
This error should only happen on an older version of Vue CLI on a specific version range of Node, so we will need accurate info on your exact Node and Vue CLI versions.
@yyx990803 Latest Vue CLI, and latest Node Windows 10 too if that means something
@yyx990803 Do you require any more info?
There's nothing we can do at the moment because we can't reproduce the issue based on the information you provided.
after update npm to v6.1.0 nothing changed
I am having the same issue. node version: 8.11.3 npm version: 6.1.0 vue cli version: v3.0.0-rc.3 os: macOS 10.13.5
edit: yarn not installed
Same Issue: Node : v8.11.3 Vue/CLI : 3.0.0-rc.3 Windows 10 : 10.0.17134
same here: Vue CLI: 3.0.0-rc.3 Node: v10.6.0 OS: Ubuntu 18.04
@openks I noticed although you said you upgraded npm, the installation is actually performed using Yarn. Have you tried:
- Upgrade Yarn to the latest
- OR: set package manager to
npmin~/.vuerc
Question to everyone in this thread: do you have yarn installed on your system, and what is the version?
Same here: @vue/cli: 3.0.0-rc.5 Node: v8.11.3 npm: 6.2.0 OS: Windows 10 No Yarn installed
I'm closing this issue since it's been months since the last active comment and we cannot reproduce this issue on our local environments.
Please open a new issue with a reference to this one if you can follow up with more information.
@openks I noticed although you said you upgraded npm, the installation is actually performed using Yarn. Have you tried:
- Upgrade Yarn to the latest
- OR: set package manager to
npmin~/.vuercQuestion to everyone in this thread: do you have
yarninstalled on your system, and what is the version?
I am sorry to see it after such a long time.
In my case, there is something wrong with yarn ,2 yarn installed
- install by
brew install yarn - install by
npm install yarnthis yarn works
after delete the yarn folder in whole situation node_modules , it works
I found this by update yarn usingbrew upgrade yarn the version doesn't match