My bundle builds successfully but when it is opened in expo go it fails with the error Unhandled JS Exception: Invalid regular expression: invalid group specifier name no stack
. There is no backtrace to look through and the extra info tab doesn’t show anything. I don’t think it gets to any of my application code before the exception. Anyone know how to debug this?
Alright, appears to be an error in the cbor
npm package. It runs fine in the browser but IOS doesn’t like it apparently.
1 Like
Hey, I’m getting this error here on iOS and macOS Safari: SyntaxError: Invalid regular expression: invalid group specifier name It comes from here: // Remove.
See cbor fails to import in expo/metro bundle (expo go IOS) · Issue #136 · hildjj/node-cbor · GitHub
Thanks for the step by step tutorial. Works like a charm! The solution worked for me thanks to the community and the members for the solution.
walgreenslistens