streetscape.gl icon indicating copy to clipboard operation
streetscape.gl copied to clipboard

am getting error when running example site

Open aubeena007 opened this issue 3 years ago • 6 comments

am getting error when running example site.

WARNING in ./node_modules/@xviz/io/dist/esm/gltf/glb-builder.js 98:25-36 "export 'padTo4Bytes' was not found in '@loaders.gl/loader-utils'

aubeena007 avatar Sep 02 '21 04:09 aubeena007

Have you solved the problem? I met this too

kkkkf666 avatar Oct 10 '21 13:10 kkkkf666

This was solved here: https://github.com/uber/xviz/issues/663

CommonParrot avatar Oct 21 '21 21:10 CommonParrot

I"m working to update this issue. it's from an out dated dependency library that seems to have broken semver.

twojtasz avatar Jan 02 '22 04:01 twojtasz

I'm not able to reproduce as the yarn.lock file has @loaders.gl/loader-utils at version 2.3.13, which has the padTo4Bytes. However, it was pointed out this dependency is missing in the package.json for @xviz/io. So i'm adding that in hope it addresses the issue. I'm guessing since it was not listed it was getting v3 and thus causing the problem.

updating to loaders.gl v3 can come next.

twojtasz avatar Jan 02 '22 23:01 twojtasz

finally able to repro, comes from newer deck.gl which includes loaders.gl 3. Just running the the get-started example with yarn start-streaming-local was able to show this error in the build output.

twojtasz avatar Jan 03 '22 01:01 twojtasz

doesn't work

Koiandrop avatar Apr 08 '22 02:04 Koiandrop