pmndrs / gltfjsx

🎮 Turns GLTFs into JSX components
https://gltf.pmnd.rs
MIT License
4.42k stars 290 forks source link

CLI throws "file does not exist" error (linux) #207

Open DevTobias opened 1 year ago

DevTobias commented 1 year ago

Hi! Running the cli tool inside linux throws the following error:

devtobias@devtobias:~/models$ ls
> demolevel.glb
devtobias@devtobias:~/models$ npx gltfjsx demolevel.glb
> demolevel.glb does not exist.

The same command with the same model however works on my windows machine. Anyone knows why this is happening? :)

1kaiser commented 1 year ago

nodejs update required

https://blog.hubspot.com/website/update-node-js

node -v 
npm install -g n  
n latest
node -v

for google colab

!npm install -g n 
!n latest