运行 npm install
时出现错误.
错误是:
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
我做了以下但错误仍然存在:node-modules
npm cache clear --force
环境:
操作系统:Windows 10
react 原生:0.65.1
节点:14.17.4
npm:7.21.0
最佳答案
升级到 npm v7.23.0 然后 npm install
并且工作正常。
关于react-native - 在 native react 中获取 "Cannot read property ' pickAlgorithm' of null”错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69567381/