# Bundle fails with Invalid expression encountered after supabase-js update

> supabase-js 2.90 and later include a dynamic import(/* webpackIgnore */ OTEL_PKG) that the Hermes v1 compiler cannot bundle.

Web page: https://davidewins.com/errors/supabase-js-hermes-invalid-expression

Expo. Confirmed fix, 16 June 2026.

Versions: Expo SDK 56/57 Hermes v1, @supabase/supabase-js 2.90+

Error:

```
Invalid expression encountered
```

## Cause

supabase-js 2.90 and later include a dynamic `import(/* webpackIgnore */ OTEL_PKG)` that the Hermes v1 compiler cannot bundle. A caret range drifts to it on any reinstall.

## Fix

Pin supabase-js exactly (no caret) to the last version without the dynamic import:
```json
"@supabase/supabase-js": "2.89.0"
```

## More Expo errors

- [Dev client red screen: No script URL provided (launcher never appears)](https://davidewins.com/errors/expo-dev-client-no-script-url-precompiled)
- [After upgrading to SDK 57, expo-font / expo-image / expo-asset config is missing](https://davidewins.com/errors/expo-sdk57-plugins-must-be-declared)
- [SDK upgrade: export dies with SyntaxError after expo install --fix](https://davidewins.com/errors/expo-install-fix-leaves-babel-preset-stale)
- [expo-doctor wants TypeScript 6 but tsc reports hundreds of errors](https://davidewins.com/errors/typescript-6-explodes-typecheck-expo)
- [CI typecheck fails (or passes with a broken href) because .expo/types is missing](https://davidewins.com/errors/expo-typed-routes-ci-false-errors)

[Search all errors](https://davidewins.com/errors)
