EAS build fails only when hermes is enabled in my app.
[stderr] /home/expo/workingdir/build/android/app/build/generated/assets/react/release/index.android.bundle:182810:9: error: Invalid regular expression: Quantifier has nothing to repeat
[stderr] N = /^((?<protocol>http[s]?):\/\/)?(?<host>localhost)(:(?<port>\d+))?$/;
@brents FWIW I solved the issue by upgrading to latest version of @nhost/nhost-js (they fixed the regex bug) and by using the babel plugin @babel/plugin-transform-named-capturing-groups-regex.