Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo 51 + React Native 0.74.5 + New Arch Enabled: "Failed to install react-native-bignumber" #71

Open
peterpme opened this issue Sep 30, 2024 · 1 comment

Comments

@peterpme
Copy link

peterpme commented Sep 30, 2024

Reproduction steps:

  • npx create-expo-app@latest -e with-new-arch
  • npm install react-native-bignumber
  • npx expo prebuild --clean -p ios
  • npm run ios
  • watchman watch-del-all
  • npm run start --reset-cache

Versions:

  • expo 51.0.31
  • react-native-bignumber 0.2.3
  • react-native 0.74.5

System:

  • XCode 16
  • Sequoia 15

When I disable the new architecture, everything works properly.

I've created a repo as well (with the ios directory committed): Base Repo URL

Thank you!

React Native Config:

   "reactNativeVersion": "0.74",
  "dependencies": {
    "expo": {
      "root": "~/Projects/new-arch-bignumber-test/node_modules/expo",
      "name": "expo",
      "platforms": {
        "ios": {
          "podspecPath": "~/Projects/new-arch-bignumber-test/node_modules/expo/Expo.podspec",
          "version": "51.0.34",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "~/Projects/new-arch-bignumber-test/node_modules/expo/android",
          "packageImportPath": "import expo.modules.ExpoModulesPackage;",
          "packageInstance": "new ExpoModulesPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "~/Projects/new-arch-bignumber-test/node_modules/expo/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null
        }
      }
    },
    "react-native-bignumber": {
      "root": "~/Projects/new-arch-bignumber-test/node_modules/react-native-bignumber",
      "name": "react-native-bignumber",
      "platforms": {
        "ios": {
          "podspecPath": "~/Projects/new-arch-bignumber-test/node_modules/react-native-bignumber/react-native-bignumber.podspec",
          "version": "0.2.3",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "~/Projects/new-arch-bignumber-test/node_modules/react-native-bignumber/android",
          "packageImportPath": "import com.margelo.bignumber.BigNumberPackage;",
          "packageInstance": "new BigNumberPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "~/Projects/new-arch-bignumber-test/node_modules/react-native-bignumber/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null
        }
      }
    }
  },

Screenshot:

image

@peterpme peterpme changed the title Expo 51 + React native 0.74.5 + New Arch Enabled: "Failed to install react-native-bignumber" Expo 51 + React Native 0.74.5 + New Arch Enabled: "Failed to install react-native-bignumber" Sep 30, 2024
@mrousavy
Copy link
Member

@Szymon20000 can you take a look at this? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants