My package.json baybylon version is 5.0.0-alpha.5,why Console is print " Babylon.js v5.0.0-alpha.44 - WebGL2"

Cause my obj file cannot be loaded ,what can i do?



Hi,
you are mixing the packages, which is not good, I think the version you have in console is the version you have instaled in devdependencies maybe

So you have 2 options to install babylonjs

or

then you have something like

“babylonjs”: “^5.0.0.-alpha5”,
“babylonjs-loaders”: “^5.0.0.-alpha5”,

or

@babylonjs/core”: “^5.0.0.-alpha5”,
@babylonjs/loaders”: “^5.0.0.-alpha5”,

but not both, like you have in your package.json

1 Like