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

Dependency Conflict When Initializing App #644

Closed
in-the-ocean opened this issue Apr 20, 2024 · 1 comment · Fixed by #645
Closed

Dependency Conflict When Initializing App #644

in-the-ocean opened this issue Apr 20, 2024 · 1 comment · Fixed by #645
Assignees
Milestone

Comments

@in-the-ocean
Copy link

in-the-ocean commented Apr 20, 2024

Describe the bug
I was following this instruction to set up an app: https://github.com/BabylonJS/BabylonReactNativeSample/blob/main/CREATE.md
And it tells me that there is conflicting dependencies on @babylonjs/core.

I think the latest of @babylonjs/core is 7.3.1 but we are still using 6.14.0 here. Overring the @babylonjs/core to use 6.14.0 in package.json helps resolve, but I think the correct fix would be to upgrade this package to use 7.3.1.

To Reproduce
Steps to reproduce the behavior:

  1. npx react-native@latest init AwesomeProject
  2. npm i @babylonjs/react-native @babylonjs/react-native-iosandroid-0-71 @babylonjs/core @babylonjs/loaders
  3. See the error
    Screenshot 2024-04-19 at 21 57 07

Expected behavior
The npm install should complete without errors.

@bghgary bghgary added this to the 8.0 milestone Apr 29, 2024
@ryantrem
Copy link
Member

ryantrem commented Apr 29, 2024

@in-the-ocean we are actively working on getting Babylon Native and Babylon React Native updated to work with BJS 7+. There were some unexpected challenges so it is taking longer than expected, but it should be done soonish! In the meantime, you will need to install a 6.* version of BJS, e.g. npm i @babylonjs/react-native @babylonjs/react-native-iosandroid-0-71 @babylonjs/core@6.49.0 @babylonjs/loaders@6.49.0

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

Successfully merging a pull request may close this issue.

3 participants