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
nhostreact0.14.2 breaks my Expo React Native (Hermes) app #1160
Comments
Maybe related |
Link to OG Discord thread ... |
"ERROR TypeError: Restricted in strict mode, js engine: hermes" seems to come from the use of axios@^1.1.3 by Nhost. |
Ok, using Yarn "Selective dependency resolutions" I forced my project to use "axios@1.2.0-alpha.1". Step 1: changed my package.json with Step 2: Followed Expo docs to clean all caches https://docs.expo.dev/troubleshooting/clear-cache-macos-linux/ I ran: Step 3: No errors! So Axios is the main problem. And the Regex thing but that is solved by the plugin. |
We're getting more and more tired of Axios at Nhost, maybe it's time to plan our project related to cross-fetch, @nunopato |
@plmercereau In my expo react native app, I have upgraded to latest version of
But if I disable |
@seyaobey-dev could you try the solution suggested by @comontes? |
@plmercereau thanks for the suggestion. The build past with the use of |
Ran into same issue, the Babel transformer works solution works for now |
After upgrading from @nhost/react@0.14.1 to @nhost/react@0.14.2 my Expo React Native(Hermes) app is broken with the following error:
The text was updated successfully, but these errors were encountered: