visgl / loaders.gl

Loaders for big data visualization. Website:
https://loaders.gl
Other
712 stars 193 forks source link

Running conversion with bundle (converter.min.js) is failing in finding 'draco_decoder.wasm' #1051

Closed Tamrat-B closed 3 years ago

Tamrat-B commented 3 years ago

node converter.min.js --input-type 3dtiles --tileset https://assets.cesium.com/29328/tileset.json --name CairoLayer --max-depth 4 --egm /home//pgm/egm2008-5/geoids/egm2008-5.pgm --slpk

is failing with:

Error: ENOENT: no such file or directory, open '/draco_decoder.wasm' failed to asynchronously prepare wasm: RuntimeError: abort(Error: ENOENT: no such file or directory, open '/draco_decoder.wasm'). Build with -s ASSERTIONS=1 for more info. RuntimeError: abort(Error: ENOENT: no such file or directory, open '/draco_decoder.wasm'). Build with -s ASSERTIONS=1 for more info. A 3D tile failed to load: undefined abort(Error: ENOENT: no such file or directory, open '/draco_decoder.wasm'). Build with -s ASSERTIONS=1 for more info.

ibgreen commented 3 years ago

Discussed with @belom88, this is related to the upgrade to Draco 1.4 which required changes to how we load Draco in browser and Node. We are looking into it.