Logo-amall

After upgrading from @nhost/react@0.14.1 to @nhost/react@0.14.2 my Expo React Native app is broken with the following error:

Last active 3 months ago

12 replies

14 views

  • CM

    After upgrading from @nhost/react@0.14.1 to @nhost/react@0.14.2 my Expo React Native app is broken with the following error:

  • CM

    Maybe it has to do with the use of some Regex not compatible with Hermes. " Invalid regular expression: Quantifier has nothing to repeat, js engine: hermes"

  • EL

    @cmontesino Would you mind helping us by creating a GitHub issue? https://github.com/nhost/nhost/issues/new so we can track it there

  • PK

    As you said, here's an old issue with the new Hermes engine: https://github.com/facebook/hermes/issues/46

  • PK

    If you downgrade NHost again, does the issue go away?

  • CM

    https://github.com/nhost/nhost/issues/1160 no problem, done

  • PK

    Interesting. I'm sorry I can't help more now but am scheduling upgrade my version of Expo (to Hermes) for our app during lull in December, if I run into same and you haven't solved, I'll try to help then.

  • PK

    Good that you might have a workaround.

  • CM

    I solved it! https://github.com/nhost/nhost/issues/1160 By installing a Babel plugin and forcing a new alpha Axios version

  • PK

    Wow. How'd you come up with that idea? Curious, I'd never have been that deep πŸ™‚

  • CM

    I just googled each error line lol. Thankfully just two errors were enough for all the others to go away. For the error with Axios, I wanted to find a way to force using another version and came to Yarn "Selective dependency resolutions", never had used it before. I am impressed at how easy it is to use

  • CO

    This is also the issue on react native CLI generated project. tried to fix using the above solutions but nothing works. @elitan

Last active 3 months ago

12 replies

14 views