renative icon indicating copy to clipboard operation
renative copied to clipboard

renative-template-hello-world: TypeError when build the renative on both iOS and Android

Open an8h opened this issue 4 years ago • 1 comments

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:

  1. Run command 'rnv new'

  2. Run command 'rnv run -p android'

  3. See error (check Screenshots or copy&paste section)

  4. Kill the process with 'Ctrl C'

  5. Run command 'rnv run -p ios'

  6. 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: Screenshot_1607406075

iOS: Screenshot 2020-12-08 at 06 42 15

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 avatar Dec 08 '20 06:12 an8h

@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

pavjacko avatar Jan 04 '21 06:01 pavjacko

Could not reproduce this on latest rnv versions therefore closing, feel free to reopen again

pauliusguzas avatar May 18 '23 06:05 pauliusguzas