Skip to content

Getting EUNSUPPORTEDPROTOCOL error when creating project #5800

Closed
@dland512

Description

@dland512

Version

4.5.3

Environment info

Environment Info:

  System:
    OS: macOS 10.15.5
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 8.11.1 - ~/.nvm/versions/node/v8.11.1/bin/node
    Yarn: Not Found
    npm: 5.6.0 - ~/.nvm/versions/node/v8.11.1/bin/npm
  Browsers:
    Chrome: 84.0.4147.125
    Edge: Not Found
    Firefox: 79.0
    Safari: 13.1.1
  npmGlobalPackages:
    @vue/cli: 4.5.3

Steps to reproduce

vue create my-project
select Default ([Vue 2] babel, eslint)

What is expected?

It should create a new vue project

What is actually happening?

I'm getting this error

Vue CLI v4.5.3
✨  Creating project in /Users/me/my-project.
🗃  Initializing git repository...
⚙️  Installing CLI plugins. This might take a while...

npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:": npm:vue-loader@^16.0.0-beta.3

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/me/.npm/_logs/2020-08-17T18_49_36_738Z-debug.log
 ERROR  command failed: npm install --loglevel error

This was working fine a few days ago, not sure what happened.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions