react-native-cli
See original GitHub issueHi! First of all great that you have implemented this package for RN! However I can’t get this to work with react-native-cli (not Expo)
When i try to require cbor-rn-prereqs i get a following error:
$ Error: Requiring unknown module "undefined". If you are sure the module exists, try restarting Metro. You may also want to run `yarn` or `npm install`.
$ ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
I tried cleaning the project, uninstalling and installing dependencies again - restarting terminals and caches, deleting the bundle from the devices/simulators - but this error persists.
If you are interested this is a fresh RN project I tried to apply this configuration with.
Also happy to give more details! I would love to help debugging this, but I’m afraid I am so fresh, I don’t have any idea from where to start… Cheers!
_Originally posted by @rottabonus in https://github.com/hildjj/node-cbor/issues/158#issuecomment-961733887_
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
Fixed for ios in 8.1.0, please test with Android, and re-open this issue if needed.
For those who come along later, read the instructions here for how to work around ReactNative’s non-modern implementation of JavaScript.