Skip to content

v 1.0.2 emits an error when using expo #460

@enqqi

Description

@enqqi

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

Latest version (1.0.2) emits an error when using expo

bunx expo@latest install --fix
...<other logs>...
Skipping config plugin check: Unable to resolve a valid config plugin for react-native-bottom-tabs.
• main export of react-native-bottom-tabs does not appear to be a config plugin: the following error was thrown when importing /Users/z/code/book.pr/node_modules/.bun/[email protected]+bcc058c2efaafc11/node_modules/react-native-bottom-tabs/app.plugin.js: Cannot destructure property 'createRunOncePlugin' of 'import_config_plugins.default' as it is undefined.
Verify that react-native-bottom-tabs includes a config plugin. If it does not, then remove the entry from plugins in your app config file. Learn more: https://docs.expo.dev/guides/config-plugins/

Library version

1.0.2

Environment info

System:
  OS: macOS 26.0.1
  CPU: (14) arm64 Apple M4 Pro
  Memory: 2.16 GB / 48.00 GB
  Shell:
    version: "5.9"
    path: /opt/homebrew/bin/zsh
Binaries:
  Node:
    version: 22.19.0
    path: /Users/z/.local/state/fnm_multishells/92124_1761330541378/bin/node
  Yarn: Not Found
  npm:
    version: 11.6.0
    path: /Users/z/.local/state/fnm_multishells/92124_1761330541378/bin/npm
  Watchman:
    version: 2025.10.06.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.0
      - iOS 26.0
      - macOS 26.0
      - tvOS 26.0
      - visionOS 26.0
      - watchOS 26.0
  Android SDK:
    API Levels:
      - "36"
      - "36"
    Build Tools:
      - 36.1.0
    Android NDK: Not Found
IDEs:
  Android Studio: 2025.1 AI-251.27812.49.2514.14217341
  Xcode:
    version: 26.0.1/17A400
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.16
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.2
    wanted: ^20.0.2
  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: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Steps to reproduce

  1. Install latest expo project
  2. add "react-native-bottom-tabs", as a config plugin
  3. Run expo install --fix
  4. get error

Reproducible sample code

https://github.com/callstackincubator/react-native-bottom-tabs/tree/main/packages/expo-template

`expo install --fix` on the repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions