I’ve done some testing in the React Native playground app, and am now trying to get BabylonReactNative to work in a fresh new React Native project to understand how much set-up I have to do.
I ran into this issue first: Can't build app on android · Issue #212 · BabylonJS/BabylonReactNative · GitHub
But could solve that thanks to the solution/workaround provided by that person.
Right now I’m getting:
error: Error: Unable to resolve module ./buffer from /Users/PathToBabylon/BabylonProject/node_modules/@babylonjs/core/Meshes/index.js:
None of these files exist:
> 1 | export * from “./abstractMesh”;
2 | export * from “./Compression/index”;
3 | export * from “./csg”;
4 | export * from “./geometry”;
Could it be that there’s a buffer folder missing in
I couldn’t really find any directions on how to import babylon in a project from scratch, so I’ve just npm installed
@babylon/loaders into my project
This is how they’re defined in the package.json:
"@babylonjs/core": "^5.0.0-alpha.22", "@babylonjs/loaders": "^4.2.0", "@babylonjs/react-native": "^0.4.0-alpha.17",
Am I forgetting to add something? Or is this a bug?