repack icon indicating copy to clipboard operation
repack copied to clipboard

App crashing on android on new app using bun when I open react debugger

Open vickylance opened this issue 2 months ago • 0 comments

Describe the bug

I created a new re.pack react native project using bun. I ran bun run android command and then bun start. Then tried opening the project in both Android emulator and Android device and tried opening React native debugger. On both it crashes the App as soon as I open it.

Found a similar issue here - https://github.com/callstack/repack/issues/891

System Info

❯ bun react-native info
info Fetching system and libraries information...
System:
  OS: macOS 26.1
  CPU: (14) arm64 Apple M4 Pro
  Memory: 6.99 GB / 48.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.21.1
    path: /Users/vickylance/.asdf/installs/nodejs/lts/bin/node
  Yarn: Not Found
  npm:
    version: 10.9.4
    path: /Users/vickylance/.asdf/plugins/nodejs/shims/npm
  Watchman:
    version: 2025.11.10.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.1
      - iOS 26.1
      - macOS 26.1
      - tvOS 26.1
      - visionOS 26.1
      - watchOS 26.1
  Android SDK:
    API Levels:
      - "36"
      - "36"
    Build Tools:
      - 35.0.0
      - 36.0.0
      - 36.1.0
    System Images:
      - android-36.1 | Google APIs ARM 64 v8a
      - android-36.1 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2025.2 AI-252.25557.131.2521.14344949
  Xcode:
    version: 26.1.1/17B100
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.17
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.0
    wanted: 20.0.0
  react:
    installed: 19.1.0
    wanted: 19.1.0
  react-native:
    installed: 0.81.5
    wanted: 0.81.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

info React Native v0.82.1 is now available (your project is running on v0.81.5).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.82.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.81.5&to=0.82.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".

Re.Pack Version

5.2.2

Reproduction

https://github.com/vickylance/salesrep_tracker

Steps to reproduce

bun run android bun start

open the app in android open developer menu click on open devtools

vickylance avatar Nov 15 '25 11:11 vickylance