Skip to content

[runtime not ready]: TypeError: Cannot read property 'create' of undefined #96

@krzysztofzaluski

Description

@krzysztofzaluski

Hey!

After integrating the Rozenite Redux DevTools plugin into our React Native app (using Re.Pack/Rspack), the app crashes on startup with

TypeError: Cannot read property 'create' of undefined coming from the plugin.

I created a repro repository so you can check what's going on.

I just tried android and it crashes at app startup.

We are using RePack 5.2.0

System Info

System:
  OS: macOS 15.6
  CPU: (11) arm64 Apple M3 Pro
  Memory: 596.08 MB / 18.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 23.9.0
    path: ~/.nvm/versions/node/v23.9.0/bin/node
  Yarn:
    version: 3.6.4
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.9.2
    path: ~/.nvm/versions/node/v23.9.0/bin/npm
  Watchman:
    version: 2025.02.17.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods: Not Found
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.3 AI-243.22562.218.2431.13114758
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.14
    path: /usr/bin/javac
  Ruby:
    version: 3.3.2
    path: /Users/kzaluski/.rvm/rubies/ruby-3.3.2/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 18.0.0
    wanted: 18.0.0
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.79.4
    wanted: 0.79.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Rozenite Version

^1.0.0-alpha.12

Reproduction

https://github.com/krzysztofzaluski/repack-rozenite

Steps to reproduce

yarn install

yarn start

yarn android

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