Closed bejucoo closed 3 years ago
I also have the same error on macos.
I also have the same error on windows.
I just got the same issue trying to use this in the CLI
ReferenceError: Blob is not defined at configureWebWorker (/usr/local/lib/node_modules/obj2gltf/node_modules/cesium/Build/CesiumUnminified/Cesium.js:241398:49645) at /usr/local/lib/node_modules/obj2gltf/node_modules/cesium/Build/CesiumUnminified/Cesium.js:244912:3 at /usr/local/lib/node_modules/obj2gltf/node_modules/cesium/Build/CesiumUnminified/Cesium.js:25:66 at Object.<anonymous> (/usr/local/lib/node_modules/obj2gltf/node_modules/cesium/Build/CesiumUnminified/Cesium.js:28:2) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18)
This seems to be related to a CesiumJS update of its zip.js dependency in https://github.com/CesiumGS/cesium/pull/9706
I can reproduce this with node 16.9.1 but not 14.17.0.
I'll publish a new version of obj2gltf that locks the CesiumJS version to 1.84 until we're able to fix the CesiumJS side.
CC @ebogo1
This bug should be fixed now in obj2gltf 3.1.3. Thanks for everyone who reported it.
Hello,
I'm trying to run the command line tool but I get this error:
I'm on Manjaro Linux I'm not sure what should I do. Any help?