You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR TypeError: Cannot assign to property 'username' which has only a getter, js engine: hermes
ERROR TypeError: Cannot assign to property 'username' which has only a getter, js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes ERROR Invariant Violation: No callback found with cbID 2 and callID 1 for module <unknown>. Args: '[{"app_state":"active"}]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 18 and callID 9 for module <unknown>. Args: '[{"app_state":"active"}]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 41 and callID 20 for module <unknown>. Args: '[0]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 45 and callID 22 for module <unknown>. Args: '[1]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 49 and callID 24 for module <unknown>. Args: '[2]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 63 and callID 31 for module <unknown>. Args: '[3]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 77 and callID 38 for module <unknown>. Args: '[4]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 81 and callID 40 for module <unknown>. Args: '[5]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 85 and callID 42 for module <unknown>. Args: '[6]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 89 and callID 44 for module <unknown>. Args: '[7]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 117 and callID 58 for module <unknown>. Args: '[8]', js engine: hermes ERROR Invariant Violation: No callback found with cbID 123 and callID 61 for module <unknown>. Args: '[9]', js engine: hermes...
The issue is resolved if we Ignite the second RN app in the same monorepo.
Steps to reproduce:
Take the codebase from original issue or sample repo
cd apps
npx ignite-cli@latest new dummy-app using the following options:
yarn install
cd pizza-app
npx pod-install
yarn ios
Success!
So, I'm assuming, the issue might be related to yarn packages management (and probably hoisting) and pods management.
I am not sure that this is the Ignite team responsibility, however, I would be thankful for any advise on resolving the issue without creating the second RN app.
yeah we have an open item for #1981 - I will discuss it with @trevor-coleman and @joshuayoes to see if we can't debug your repro example, thanks for setting that up
Describe the bug
Hi!
Cannot run Ignite RN app on iOS in
yarn
monorepo (yarn v1.22.22).Steps to reproduce:
npx create-turbo@latest
selectyarn
as a package managercd apps
npx ignite-cli@latest new pizza-app
with following options:cd pizza-app
yarn install
index.js
with the following content:package.json
(set"main": "index.js",
)metro.config.js
as in expo guidelinesnpx pod-install
yarn ios
Important
Sample project: https://github.com/mausic/turborepo-ignite
Ignite version
9.7.1
Additional info
The text was updated successfully, but these errors were encountered: