-
-
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
vue create gets npm error cb() never called #1176
Comments
Reference npm/npm#20429 for a corresponding npm issue since it is not clear whether this is a vue-cli or npm bug. |
Follow-up: I tried exactly the same vue create command, but just took the defaults. All worked fine. So then I did: "vue add vuex", and I got: npm ERR! code E404 npm ERR! A complete log of this run can be found in: So I did "npm install (at-sign)vue/cli-plugin-vuex(at-sign)latest" -- and got a similar error. Conclusion: I guess vue-cli 3 really is beta code and it's too soon to meet my needs. |
|
@yyx990803 Maybe we could have an option to add vue-router or vuex at a later time to adhere to the progressive nature of the framework? |
So I wish I hadn't mentioned trying "vue add vuex" because it distracted from the original problem. Please consider the original problem which was that "vue create" did not work when I specified the particular set of options that I requested. |
The error message explicitly says: This is an error with npm itself. |
Version
3.0.0-beta.6
Reproduction link
https://codesandbox.io/s/xp4jyxvkxw
Steps to reproduce
vue create FileManagementUI
after upgrading npm and node and vue to their latest-and-greatest
Used these options:
? Please pick a preset: Manually select features
? Check the features needed for your project: (Press to select, to toggle all, to ? Check the features needed for your project: Router, Vuex, Linter
? Pick a linter / formatter config: Airbnb
? Pick additional lint features: (Press to select, to toggle all, to invert select? Pick additional lint features: Lint on save
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? No
What is expected?
New project named "FileManagement"
What is actually happening?
Vue CLI v3.0.0-beta.6
✨ Creating project in C:\SpecProOnline\FileManagementUI.
� Initializing git repository...
⚙ Installing CLI plugins. This might take a while...
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\MLINEHA\AppData\Roaming\npm-cache_logs\2018-04-24T23_47_12_566Z-debug.log
ERROR command failed: npm install --loglevel error
Reproduces very reliably.
Using Windows 8.1.
The text was updated successfully, but these errors were encountered: