-
-
Notifications
You must be signed in to change notification settings - Fork 46
Getting errors just importing nodejs-mobile-react-native #17
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
Comments
Can you give more details? Run |
It says unknown command |
I am having the exact same issue. react-native info output :
Error
|
I changed var EventEmitter = require('react-native/Libraries/vendor/emitter/EventEmitter').default; into import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter' which is located in index.js of root of nodejs-mobile-react-native, I am using version 0.6.3 |
Uh oh!
There was an error while loading. Please reload this page.
If I just add
import nodejs from 'nodejs-mobile-react-native';
to my code I get the errorsTypeError: Super expression must either be null or a function
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
Any idea what am I doing wrong?
I am using ReNative
The text was updated successfully, but these errors were encountered: