Tag Archives: Vue create Create Project Error

[Solved] Vue create Create Project Error: command failed: npm install –loglevel error

Cause: Vue create XX was used to create a vue3 project at the terminal, and an error was reported during the execution: command failed: NPM install — loglevel error. I asked Du Niang, but failed. I groped for it myself.

Solution: edit the .Vuerc file and set “usetaobao Registry” to false.

Edit  . Npmrc file, set the source to registry= http://registry.npmjs.org/ (I used to be Taobao image) after setting, the final result is as follows:

After that, run Vue create XX successfully.

End, sprinkle flowers ~