![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
React Native
Stephenlovevicky
I'm Android Developmenter!
展开
-
null is not an object (evaluating 'RNSound.IsAndroid')
如果安装了react-native-sound第三库,ios运行时报:null is not an object (evaluating 'RNSound.IsAndroid')或者react native sound: undefined is not an object, RNSound.IsAndroid这些错,大概率都是因为没有link正确原生库导致的,我的解决如下,供参考:1.去po...原创 2020-01-08 00:22:18 · 2749 阅读 · 0 评论 -
Error: jest-haste-map: Haste module naming collision: Duplicate module name: react-native
React Native 的项目 今天安装了三方库react-native-camera和react-native-sound及react-native-permissions,期间都需要执行react-native link命令安装对应的原生依赖,执行命令完成之后再执行npm start启动项目,结果傻眼了,报错如下:Loading dependency graph...(node:64...原创 2020-01-07 23:56:33 · 2647 阅读 · 0 评论 -
npm ERR! Could not install from "..." as it does not contain a package.json file.
react native 项目npm install 的时候报错:npm ERR! Could not install from "node_modules/teaset/react-native-deprecated-custom-components@github:facebookarchive/react-native-custom-components#d5201e53221a2460...原创 2019-06-10 18:00:50 · 23013 阅读 · 5 评论