Vue init error

vue

above, I will report an error when I use 2.9.3

if you change it to yarn, you will still get an error

.

I still haven"t done it all day. I don"t know if it"s a computer problem or a webpack problem

Mar.15,2021

< del > net is not good. It seems to be a problem to visit github with a browser to see if you can access < / del >
version 2.9.4 of vue-cli. Using version 2.9.3 of init
, you can run the following command to solve

.
npm uninstall -g vue-cli
npm install -g vue-cli@2.9.3

if you don't want to install 2.9.3, you can change the command init

vue-init webpack attendance

2.9.4 commands that run vue XXX directly seem to have more or less problems

< hr >

vue-cli 2.9.3 create a new project with the following settings, and you can run npm run dev

normally.

< hr >

there was an error in the npm installation dependency when you init. Try using yarn to install the dependency


first Vue-V to see if Vue is installed successfully. If not, try my blog address

.
Menu