-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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 on vue create
command
#4732
Comments
Also worth noting that I've downgraded to version 3.12.1 and I don't get this issue there at all. |
Something of further interest, I just thought I'd try going back to version 4.0.4 and using
|
So according to the output, the error is raised when parsing the result of |
|
|
Same here, node 10.16.3, npx --package @vue/cli vue 4.0.4. Using WebStorm to create the project, fails with: /Users/xyz/.nvm/versions/node/v10.16.3/bin/node /Users/xyz/.nvm/versions/node/v10.16.3/lib/node_modules/npm/bin/npx-cli.js --package @vue/cli vue create . Any help appreciated, thanks |
I'm having the same issue using vue ui to create a project. If I try to create it via command line:
I got the following error:
|
So the problem is that your company's internal npm registry does not support |
@allan-christian Wrap the JSON in a pair of quotation marks.
|
Not sure what you mean. Seems to work fine:
|
That explains why |
Actually seems to be because |
So it seems our virtual repo goes to get packages from the remote when you run |
Partially fixed in v4.0.5. |
Version
4.0.4
Environment info
Steps to reproduce
nvm install -g @vue/cli
.vue create hello-vue -d
What is expected?
The command is successful
What is actually happening?
This is my first time trying out vue. I also tried using a different registry but got the same issue.
The text was updated successfully, but these errors were encountered: