renative
renative copied to clipboard
renative-template-hello-world: TypeError when build the renative on both iOS and Android
Describe the bug I tried to follow the installation guide (https://renative.org/docs/intro-installation) to run renative on both iOS simulator and Android emulator using renative-template-hello-world. Once the bundle is ready and it tries to open the app I get a TypeError.
To Reproduce Steps to reproduce the behavior:
-
Run command 'rnv new'
-
Run command 'rnv run -p android'
-
See error (check Screenshots or copy&paste section)
-
Kill the process with 'Ctrl C'
-
Run command 'rnv run -p ios'
-
See error (check Screenshots or copy&paste section)
Expected behavior Once the bundle is 100% ready and I don't get any errors in the terminal I would expect a running app on both iOS and Android.
Screenshots or copy&paste
Android:
iOS:
Desktop (please complete the following information):
- OS: macOS Big Sur v.11.0.1
- Node Version: v14.15.1
- RNV Version: v 0.31.3
Additional context I tested renative-template-blank and it works.
@an8h I've been trying to replicate above error but with no luck.
one quick check (on android) could be to change "enableHermes": false
in your renative.json and run app again with rnv run -p android -r
.
NOTE -r
is important enabling/disabling hermes requires hard reset to take effect
Another option is to upgrade to upcoming release npm i rnv@alpha -g
and try to create new app again.
If issue persist you could change "reactNativeEngine": "default"
I'll keep an eye on this error
Could not reproduce this on latest rnv versions therefore closing, feel free to reopen again