Solve Cannot read properties of null (reading ‘pickAlgorithm’)

Problem introduction

When importing the Vue project and using ‘ npm i ‘ to install node_moduels, the terminal error is as follows:

Specifically this sentence: Cannot read properties of null (reading ‘pickAlgorithm’)


Solution:

Type in the terminal: npm cache clear –force

 npm cache clear --force

Rerun the npm i command

You can see on the left that node_moduels has been successfully installed

Running npm run serve should work

The post addressing Cannot read properties of null (reading ‘pickAlgorithm’) first appeared on Lenix Blog .

This article is reprinted from https://blog.p2hp.com/archives/9155
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment