Home > OS >  Getting "Cannot read property 'pickAlgorithm' of null" error in react native
Getting "Cannot read property 'pickAlgorithm' of null" error in react native

Time:10-17

I get an error when running npm install. The error is:

npm ERR! Cannot read property 'pickAlgorithm' of null

npm ERR! A complete log of this run can be found in:
npm ERR!    npm-cache\_logs\2021-10-14T08_03_47_266Z-debug.log

I did the following but the error stays:

  1. Deleted node-modules
  2. Deleted the given file
  3. Running npm cache clear --force

Environment:

OS: Windows 10
react native: 0.65.1
Node: 14.17.4
npm: 7.21.0

CodePudding user response:

Upgraded to npm v7.23.0 and then npm install and working fine.

  • Related