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

Error trying to install #57

Closed
Draichi opened this issue Mar 25, 2019 · 1 comment
Closed

Error trying to install #57

Draichi opened this issue Mar 25, 2019 · 1 comment

Comments

@Draichi
Copy link

Draichi commented Mar 25, 2019

When I try to run the following:

npm install @vue/babel-preset-jsx @vue/babel-helper-vue-jsx-merge-props

I got the following error:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vue%2fbabel-helper-vue-jsx-merge-props - User not found
npm ERR! 404 
npm ERR! 404  '@vue/babel-helper-vue-jsx-merge-props@latest' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because 
npm ERR! 404  1. name can only contain URL-friendly characters
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/lucas/.npm/_logs/2019-03-25T17_00_17_050Z-debug.log

The URL exists.

My setup:

node --version
v11.12.0

vue --version 
3.0.5

npm --version  
6.9.1-next.0

When I was trying to solve this issue, I added this lines to my .npmrc:

@vue:registry=https://registry.npmjs.org
@babel:registry=https://registry.npmjs.org

But still the same error...

@Draichi
Copy link
Author

Draichi commented Mar 26, 2019

I could only solve this bug by removing every node related hidden file from my ~/ and re-installing everything with NVM

@Draichi Draichi closed this as completed Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant