Vue project installation problem

1. If the new project wants to create a new vue project, and then enter the command line vue init webpack project name, it will report an error
2. Tried to reinstall vue, webpack, vue-cli, but still reported an error
the error content is as follows,

clipboard.png

can be installed normally before, but suddenly it won"t work. Solve

Mar.17,2021

replace it with cnpm and reinstall vue vue-cli.


first delete the .npmrc file under C::Users {account} on your computer.
run cnpm install-g vue-cli

again.
Menu