-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
MapBoxGL error #193
Comments
Thanks you like it. Will take a look |
Btw, any PR always welcome. |
Your world map is amazing |
Thanks @yihong0618! Please outline the steps for me to create a pull request against version fix. I know github but I mostly use it for my own purposes. |
|
@irvingbennett seems that is mapbox token problem can you use your own mapbox token and give a try? can you try this? |
@irvingbennett earlier in the day, I added the following code to solve this problem, can you try this? Transpilation of V2.0.0+ #10565 "browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"not chrome < 51",
"not safari < 10"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
} |
@irvingbennett we updade all the version can you give a test? |
Hi Yihong! I will give it a spin and see how it goes. |
Discussed in #192
Originally posted by irvingbennett January 6, 2022
Hi yihong and company! I forked your running page and managed to get it running. It took me some work because it didn't want to build with Gatsby 2.x because some libraries were too old. I managed to get working with Gatsby 4.0 and its going great on my local machine! I really like your app.
I also managed to deploy the app on Vercel and Gatsby Cloud. Both those installations build and run (after some tweaks). Both of those installations fail to show the map and have MapBoxGL errors that can be seen in the developers console:
77e41395-87bb-4f6d-86fc-2386ddd3dbdd:1 An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling
Have you seen this problem in your deployments?
My running page on Vercel: https://running-page-irving1.vercel.app/
Azure
Gatsby Cloud
The text was updated successfully, but these errors were encountered: