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

react-native-root-siblings 在RN 0.48.1中存在不兼容 #41

Closed
bashen1 opened this issue Sep 5, 2017 · 1 comment
Closed

react-native-root-siblings 在RN 0.48.1中存在不兼容 #41

bashen1 opened this issue Sep 5, 2017 · 1 comment

Comments

@bashen1
Copy link

bashen1 commented Sep 5, 2017

react-native-root-siblings 在RN 0.48.1中存在不兼容

@dioxide
Copy link

dioxide commented Sep 9, 2017

临时解决方案:
修改node_modules/react-native-root-siblings/lib/AppRegistryInjection.js 中的第4行
改为import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
RN的这个版本移动的emitter包的位置

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