Skip to content

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

Closed
@zigomir

Description

@zigomir

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions