vue-cli icon indicating copy to clipboard operation
vue-cli copied to clipboard

ERROR  Error: Failed to resolve plugin: @vue/cli-service

Open ThatNerdyPikachu opened this issue 8 years ago • 15 comments

Version

3.0.0-rc.2

Reproduction link

https://uhh.should.i.put.an.ascinemma.here

Steps to reproduce

  1. Run vue create project-name
  2. Choose default settings
  3. Error!

What is expected?

For project to successfully create

What is actually happening?

ERROR  Error: Failed to resolve plugin: @vue/cli-service

ThatNerdyPikachu avatar Jun 17 '18 23:06 ThatNerdyPikachu

What is your Node version?

yyx990803 avatar Jun 18 '18 12:06 yyx990803

Latest, 10.4.1 I think?

ThatNerdyPikachu avatar Jun 18 '18 12:06 ThatNerdyPikachu

vue-cli 3.0.0-rc.2 node 10.4.1 Windows 10

Installation went flawless :)

sqal avatar Jun 18 '18 13:06 sqal

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 avatar Jun 18 '18 13:06 yyx990803

@yyx990803 Latest Vue CLI, and latest Node Windows 10 too if that means something

ThatNerdyPikachu avatar Jun 18 '18 15:06 ThatNerdyPikachu

@yyx990803 Do you require any more info?

ThatNerdyPikachu avatar Jun 19 '18 12:06 ThatNerdyPikachu

There's nothing we can do at the moment because we can't reproduce the issue based on the information you provided.

yyx990803 avatar Jun 19 '18 13:06 yyx990803

image after update npm to v6.1.0 nothing changed

openks avatar Jun 22 '18 08:06 openks

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

joshuahefner avatar Jul 03 '18 12:07 joshuahefner

Same Issue: Node : v8.11.3 Vue/CLI : 3.0.0-rc.3 Windows 10 : 10.0.17134

vikas-rathee avatar Jul 05 '18 07:07 vikas-rathee

same here: Vue CLI: 3.0.0-rc.3 Node: v10.6.0 OS: Ubuntu 18.04

cdelguercio avatar Jul 12 '18 00:07 cdelguercio

@openks I noticed although you said you upgraded npm, the installation is actually performed using Yarn. Have you tried:

  1. Upgrade Yarn to the latest
  2. OR: set package manager to npm in ~/.vuerc

Question to everyone in this thread: do you have yarn installed on your system, and what is the version?

yyx990803 avatar Jul 18 '18 03:07 yyx990803

Same here: @vue/cli: 3.0.0-rc.5 Node: v8.11.3 npm: 6.2.0 OS: Windows 10 No Yarn installed

JnusK avatar Jul 19 '18 14:07 JnusK

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.

haoqunjiang avatar Sep 12 '18 05:09 haoqunjiang

@openks I noticed although you said you upgraded npm, the installation is actually performed using Yarn. Have you tried:

  1. Upgrade Yarn to the latest
  2. OR: set package manager to npm in ~/.vuerc

Question to everyone in this thread: do you have yarn installed 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

  1. install by brew install yarn
  2. install by npm install yarn this 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

openks avatar Sep 13 '18 07:09 openks