npm install installation error

In the vue project , when we use the command: npm install to download node_modules (node_module) in the terminal, an error occurs.

Mainly because of this: npm ERR! Cannot read properties of null (reading 'pickAlgorithm')

Translation: npm error! Cannot read property of null (reading 'pickAlgorithm') 

If you use npm install to install an error, you can first execute npm cache clear --force (npm cache clear -- force)

Then execute the command again to install: npm install (npm i)

Then start the project: npm run dev

Now there is no error, the installation is successful

 

Guess you like

Origin blog.csdn.net/qq_55928824/article/details/129795303