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

Loading mapbox-gl.min.js 2.10.0 - Cannot read properties of undefined (reading '0') #1363

Open
wreiske opened this issue Oct 7, 2022 · 1 comment
Labels
⚙️ Auto-update Relating to the auto-update logic for cdnjs 🐛 Bug Something isn't working

Comments

@wreiske
Copy link

wreiske commented Oct 7, 2022

I posted an issue to the mapbox-gl repository here: mapbox/mapbox-gl-js#12285

The maintainers closed it and recommended submitting it to CDN JS. I am not able to load the minified version of mapbox-gl from cdnjs, but the non minified works fine.

@MattIPv4
Copy link
Member

It looks like we generate this file using uglifyjs here: https://github.com/cdnjs/logs/blob/91fc7288133b657b7821a76a38fa5ab2f16c3d56/packages/m/mapbox-gl/2.10.0/processing.log#L18

I suspect this might be a bug in whatever processing uglifyjs is doing. I suspect this might be solved by cdnjs/tools#250

@MattIPv4 MattIPv4 added 🐛 Bug Something isn't working ⚙️ Auto-update Relating to the auto-update logic for cdnjs labels Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Auto-update Relating to the auto-update logic for cdnjs 🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants