Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

am getting error when running example site #511

Open
aubeena007 opened this issue Sep 2, 2021 · 6 comments
Open

am getting error when running example site #511

aubeena007 opened this issue Sep 2, 2021 · 6 comments

Comments

@aubeena007
Copy link

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'

@kkkkf666
Copy link

Have you solved the problem? I met this too

@CommonParrot
Copy link

This was solved here: aurora-opensource/xviz#663

@twojtasz
Copy link
Contributor

twojtasz commented Jan 2, 2022

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

@twojtasz
Copy link
Contributor

twojtasz commented Jan 2, 2022

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
Copy link
Contributor

twojtasz commented Jan 3, 2022

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.

@Koiandrop
Copy link

doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants