ITeye博客

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

jsntghf · 2016-06-12 15:21 · iOS · 移动开发 · iOS · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。