You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've got an issue with converting glTF to Draco glTF, which I didn't have before.
When I'm trying to convert model using gltf-pipeline -i model.gltf -o modelDraco.gltf -d command I get this error:
TypeError: encoderModule.Encoder is not a constructor
at /usr/local/lib/node_modules/gltf-pipeline/lib/compressDracoMeshes.js:124:29
at Function.ForEach.meshPrimitive (/usr/local/lib/node_modules/gltf-pipeline/lib/ForEach.js:235:27)
at /usr/local/lib/node_modules/gltf-pipeline/lib/compressDracoMeshes.js:101:17
at Function.ForEach.object (/usr/local/lib/node_modules/gltf-pipeline/lib/ForEach.js:45:27)
at Function.ForEach.topLevel (/usr/local/lib/node_modules/gltf-pipeline/lib/ForEach.js:64:20)
at Function.ForEach.mesh (/usr/local/lib/node_modules/gltf-pipeline/lib/ForEach.js:226:20)
at compressDracoMeshes (/usr/local/lib/node_modules/gltf-pipeline/lib/compressDracoMeshes.js:100:13)
at /usr/local/lib/node_modules/gltf-pipeline/lib/processGltf.js:65:16
at tryCatcher (/usr/local/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/util.js:16:23)
at Object.gotValue (/usr/local/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/reduce.js:166:18)
at Object.gotAccum (/usr/local/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/reduce.js:155:25)
at Object.tryCatcher (/usr/local/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/usr/local/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/usr/local/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/usr/local/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/promise.js:729:18)
But around 2 years ago I was converting the same exact model with the same command and it worked as expected.
What have changed since that time: node.js version & gltf-pipeline version updates.
The old Node.js version was 6. And the gltf-pipeline version was 2.1.4.
Now I'm using the latest versions of the both.
Please, advice what may cause this issue and how it can be fixed.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Hello,
I've got an issue with converting glTF to Draco glTF, which I didn't have before.
When I'm trying to convert model using
gltf-pipeline -i model.gltf -o modelDraco.gltf -d
command I get this error:But around 2 years ago I was converting the same exact model with the same command and it worked as expected.
What have changed since that time: node.js version & gltf-pipeline version updates.
The old Node.js version was 6. And the gltf-pipeline version was 2.1.4.
Now I'm using the latest versions of the both.
Please, advice what may cause this issue and how it can be fixed.
Thank you in advance.
The text was updated successfully, but these errors were encountered: