Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verson 4.5.0 dosen't suport npm5.6.0 #5715

Closed
jerry000lin opened this issue Jul 27, 2020 · 2 comments · Fixed by #5718
Closed

verson 4.5.0 dosen't suport npm5.6.0 #5715

jerry000lin opened this issue Jul 27, 2020 · 2 comments · Fixed by #5718

Comments

@jerry000lin
Copy link

Version

4.5.0

Environment info

npm 5.6.0
node 8.11.3

Steps to reproduce

in npm 5.6.0

execute npm install with @vue/cli-service v4.5.0

get error:

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

What is expected?

npm install can be executed in npm5.6.0

What is actually happening?

@vue/cli-service v4.5.0 dosen't support npm 5.6.0


Notice that package aliasing is support since npm 6.9.0

Will npm5.6.0 be supported again?

@haoqunjiang
Copy link
Member

Yeah, we can make it an optional dependency. Thanks for reporting this!

@Memeyan
Copy link

Memeyan commented Aug 13, 2020

My personal solution it's just updated npm to version 6 and then it's just work
also, I suspect that when you install npm and node you use apt-get method directly on ubuntu, which causes that it's only installed you node 8 and npm 5, the resent version of a node is already 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants