Installation of vue-cli scaffolding has been unable to install, but other projects can work normally, online to find some methods are useless. I'd like to ask who can solve it.

clipboard.png

clipboard.png

Mar.12,2021

the hole is finally filled.

solve the problem: check the default global installation path npm config get prefix to enter the directory to delete the npm folder. Then initialize it in your project folder and install the dependencies and it will work properly.

I hope I can help my friends who step into this hole like me.

Menu