Open ghost opened 3 years ago
could you append the glb?
https://github.com/mrdoob/three.js/blob/dev/examples/models/gltf/Xbot.glb its this one, just one of the standard threejs gltf models
cant reproduce unfortunately, runs through here :-(
I am also encountering the same problem when executing the same command with the model in this codesandbox public/stacy.glb
.
@drcmda i will do some work and put together a PR to try and make the error message less cryptic. let me know if you can provide any context / pointers otherwise ill get started on it later tonight. thank you :)
awesome! good luck also, i still can't reproduce :-(
After a few tests, I found out that the error I was encountering was because I installed the package locally. Everything is working well when I install it globally.
I can confirm. Got the same error when running locally, where installing globally fixed it.
when i run > npx gltfjsx models/gltf/xbot.glb --root public/ --verbose`
i get this error