Skip to content

Service Storage not found in container with Hermes enabled #32968

Closed
@KohanTorabi

Description

@KohanTorabi

Minimal reproducible example

The project is in a private repository and cannot be shared

Which package manager are you using? (Yarn is recommended)

yarn

If the issue is web-related, please select the bundler (web.bundler in the app.json)

None

Summary

When using expo-router in a React Native project with Hermes enabled, the following error is displayed repeatedly in the console: Error: Service Storage not found in container, js engine: hermes.

This error occurs on Android, and it seems related to the integration of a storage library . Expected behavior is for the storage service to initialize correctly without errors.

Environment

expo-env-info 1.2.1 environment info:
    System:
      OS: Windows 11 10.0.22621
    Binaries:
      Node: 20.9.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 10.2.2 - C:\Program Files\nodejs\npm.CMD
    SDKs:
      Android SDK:
        API Levels: 34, 35
        Build Tools: 34.0.0, 35.0.0
        System Images: android-35 | Pre-Release 16 KB Page Size Google Play ARM Intel x86_64 Atom
    IDEs:
      Android Studio: AI-233.14808.21.2331.11842104
    npmPackages:
      expo: ~51.0.8 => 51.0.39
      expo-router: ~3.5.14 => 3.5.24
      react: 18.2.0 => 18.2.0
      react-dom: 18.2.0 => 18.2.0
      react-native: 0.74.5 => 0.74.5
      react-native-web: ~0.19.10 => 0.19.13
    Expo Workflow: bare

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions