JSON parsing error when installing vue

install npm install vue No problem
install npm install-g vue-cli No problem
vue init webpack my-vue just report an error here
and then test again and again until the second step of installation

how to solve this problem?

Mar.11,2021

vue can be referenced directly. There is no need to install


the first step does not need
try to delete node and reinstall


you can install the Taobao image first, use npm install-g cnpm-- registry= https://registry.npm.taobao.org
step 2: cnpm install
enter the installation folder, start npm, and run the helloworld.vue file command: npm run dev
run the command: npm rebuild node-sass without node-sassvendor,-- save-de

vue is a component of vue.js. If you install vue.js, you will have vue!

Menu