Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行你的demo 出错(环境 rn3.0) #2

Open
roselind opened this issue Jul 27, 2016 · 3 comments
Open

运行你的demo 出错(环境 rn3.0) #2

roselind opened this issue Jul 27, 2016 · 3 comments

Comments

@roselind
Copy link

2016-07-27 18:18:57.208 hunheDemo[12193:416155] INFO: Reveal Server started (Protocol Version 25).
2016-07-27 18:18:59.012 hunheDemo[12193:416155] 点击了按钮...
2016-07-27 18:18:59.306 [error][tid:com.facebook.react.JavaScript] this._nativeModule.addListener is not a function. (In 'this._nativeModule.addListener(eventType)', 'this._nativeModule.addListener' is undefined)
2016-07-27 18:18:59.313 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: this._nativeModule.addListener is not a function. (In 'this._nativeModule.addListener(eventType)', 'this._nativeModule.addListener' is undefined)
2016-07-27 18:18:59.330 [error][tid:com.facebook.react.JavaScript] Requiring module "184", which threw an exception.
2016-07-27 18:18:59.331 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: Requiring module "184", which threw an exception.
2016-07-27 18:18:59.339 [warn][tid:com.facebook.react.JavaScript] Unable to symbolicate stack trace: this._nativeModule.addListener is not a function. (In 'this._nativeModule.addListener(eventType)', 'this._nativeModule.addListener' is undefined)
2016-07-27 18:18:59.339 [warn][tid:com.facebook.react.JavaScript] Unable to symbolicate stack trace: this._nativeModule.addListener is not a function. (In 'this._nativeModule.addListener(eventType)', 'this._nativeModule.addListener' is undefined)
2016-07-27 18:19:01.157 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module.
2016-07-27 18:19:01.158 [warn][tid:com.facebook.react.JavaScript] Unable to symbolicate stack trace: this._nativeModule.addListener is not a function. (In 'this._nativeModule.addListener(eventType)', 'this._nativeModule.addListener' is undefined)
2016-07-27 18:19:01.158 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: Module AppRegistry is not a registered callable module.

@jiangqqlmj
Copy link
Owner

jiangqqlmj commented Jul 27, 2016

OK,已经收到了你的问题,我这边升级一下RN版本进行调试一下原来的项目。

@roselind
Copy link
Author

非常感谢

@movetosun
Copy link

原生向RN发送通知的方法RCTEventDispatch已经被废弃,不适用了,如果从RN的某个页面跳转到native,然后在从native返回RN的那个页面该怎么操作,使用RCTRootView不是返回整个app的其实页了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants