CesiumGS / gltf-pipeline

Content pipeline tools for optimizing glTF assets. :globe_with_meridians:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can we refine the build instructions?

AvidDrawer opened this issue · comments

I installed the Node.js as mentioned and installed gltf-pipeline using the -g flag.

  1. For subsequent operations from command line, I had to prefix the commands in gltf-pipeline.js with "node" for it execute. Without the node prefix, it simply opens .js file in my text editor.

  2. None of the dependencies are installed along with gltf-pipeline. They need to be installed manually without the -g flag. Otherwise they aren't found when running gltf-pipeline.js. I didn't realize this was the issue till after a couple of hours of searching.

This is my first experience with Node and it was not clear why the dependencies were not being found. So, perhaps a few more lines from more knowledgeable people would make it easier for others.