Why is the installation unsuccessful?
It’s nothing more than one version is higher and the other is lower, because the version of node.js is higher…maybe lower…it’s very annoying, let me once know them as shabiiiii
The solution is to manually modify the package.json page in the vue project
and modify it in dependencies
"dependencies": {
"core-js": "^2.6.5",
"element-ui": "^2.15.13",
"sass-loader": "^10.0.1",
"vue": "^2.6.10",
"node-sass": "^6.0.1"
},
Then manually install
npm install
//或者
yarn install