Issue
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:
- Deleted
node-modules
- Deleted the given file
- Running
npm cache clear --force
Environment:
OS: Windows 10
react native: 0.65.1
Node: 14.17.4
npm: 7.21.0
Solution
Upgraded to npm v7.23.0 and then npm install
and working fine.
Answered By - Kiana Kazeminejad
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.