欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

React Native 0.27.2编译报错this._nativeModule.addListener is not a function

程序员文章站 2022-07-14 15:51:26
...

React Native:0.27.2

React:15.1.0

Node:6.1.0

npm:3.8.6

 

编译报错如下:

this._nativeModule.addListener is not a function.(In 'this._nativeModule.addListener(eventType)','this._nativeModule.addListener' is undefined)

 

解决办法:

npm link

相关标签: iOS react