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

viewport-mercator-project dependency causing crash in Vercel #1585

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

viewport-mercator-project dependency causing crash in Vercel #1585

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

Comments

@tonyaussant
Copy link

Description

I am using Vercel for deployment of my React app, and as of today, I am getting the attached error every time I attempt to a new build. I upgraded react-map-gl to the latest version and I changed nothing else in my app before attempting a new build, so it is definitely this dependency of react-map-gl that is causing the issue.

Environment (please complete the following information):

  • Library Version: react-map-gl 6.1.17
  • React Version: react 17.0.2
  • Browser Version: Chrome 94.0.4606.71
  • OS: Mac OS X 11.5.2

Logs

error

@tonyaussant tonyaussant added the bug label Oct 5, 2021
@Pessimistress
Copy link
Collaborator

Pessimistress commented Oct 5, 2021

gl-matrix made a breaking release earlier today. They have since release 3.4.1 that is supposed to work:

https://github.com/toji/gl-matrix/releases/tag/v3.4.1

Edit: looks like it's still broken, the current recommendation is to pin gl-matrix to v3.3.0. https://github.com/uber-web/math.gl/issues/252

@kylebarron
Copy link
Collaborator

The related issue in gl-matrix is here, with more discussion: toji/gl-matrix#439

@tonyaussant
Copy link
Author

Thank you, I downgraded gl-matrix to 3.3.0 and that worked!

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

3 participants