Npm installation depends on package error

when using vue-cli, use npm to install dependent package to report errors. The version of webpack is 3.4.Because the installation of the package is wrong, it leads to an error in the execution of relevant instructions

.

I would like to ask what is the cause of this? is it the version problem? I was so skeptical about it midway, so I changed it to a higher version of node, but it still didn"t work

.
Mar.04,2021

is also missing the acorn library. Install this library with


the error in the installation of the package leads to the error in the execution of the relevant instructions

what error was reported during installation? Also post the picture


npm i -g rimraf
//  node_modules
rimraf node_modules
// 
npm i

is mainly installed through cnpm, and the installation fails every time. Now you can install it directly using npm, but it's too slow. Is it because of the image problem on Taobao

?
Menu