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

Updating deckgl package cause dependency errors #6269

Closed
btbritz opened this issue Oct 5, 2021 · 3 comments
Closed

Updating deckgl package cause dependency errors #6269

btbritz opened this issue Oct 5, 2021 · 3 comments
Labels

Comments

@btbritz
Copy link

btbritz commented Oct 5, 2021

Description

Getting this error after updating to latest package:

These dependencies were not found:

* gl-matrix/mat3 in ./node_modules/@math.gl/core/dist/esm/classes/matrix3.js
* gl-matrix/mat4 in ./node_modules/@deck.gl/core/dist/esm/shaderlib/project/viewport-uniforms.js, ./node_modules/@deck.gl/core/dist/esm/viewports/viewport.js and 2 others
* gl-matrix/quat in ./node_modules/@math.gl/core/dist/esm/classes/quaternion.js
* gl-matrix/vec2 in ./node_modules/@deck.gl/core/dist/esm/viewports/web-mercator-viewport.js, ./node_modules/@deck.gl/core/dist/esm/views/orthographic-view.js and 2 others
* gl-matrix/vec3 in ./node_modules/@deck.gl/core/dist/esm/shaderlib/project/project-functions.js, ./node_modules/@deck.gl/core/dist/esm/viewports/globe-viewport.js and 3 others
* gl-matrix/vec4 in ./node_modules/@deck.gl/core/dist/esm/shaderlib/project/viewport-uniforms.js, ./node_modules/@deck.gl/core/dist/esm/viewports/globe-viewport.js and 2 others
*

Tried installing gl-matrix separately, no dice. I can see the packages in my node_modules so I'm not sure what's going on.

@btbritz btbritz added the bug label Oct 5, 2021
@kylebarron
Copy link
Collaborator

Looks like gl-matrix just made its first release in two years: https://github.com/toji/gl-matrix/releases and that's likely breaking things. Also noted here: https://github.com/uber-web/math.gl/issues/252

Can you try pinning to v3.3.0 and see if that works?

@btbritz
Copy link
Author

btbritz commented Oct 5, 2021

Yep that did it.

Thanks for the quick response.

@btbritz btbritz closed this as completed Oct 5, 2021
@kylebarron
Copy link
Collaborator

The related issue in gl-matrix is here: toji/gl-matrix#439

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

No branches or pull requests

2 participants