AlexLavoie42 / Nuxt-Mapbox

Elegant Mapbox integration with Nuxt
81 stars 11 forks source link

`mapboxgl is not defined` on playground when using Firefox #13

Closed Kalv1 closed 9 months ago

Kalv1 commented 1 year ago

Is it possible to reup the playground ( 500 issue maxboxgl is not defined )

image

AlexLavoie42 commented 1 year ago

I can't seem to reproduce this issue. Running the playground works fine on my end. Mapboxgl comes from the CDN instead of NPM (because of #2), so perhaps it is some sort of network issue?

Kalv1 commented 1 year ago

Ok this is weird... Maybe the CDN is not available in my geographical area ( Europe / France ). I tried on another ip and another pc and I have exactly the same problem, I can't get a playground that works.

I admit that it bothers me because I have a problem with the modules and I would have liked to see the playground working in order to possibly detect where my problem came from.

EDIT: SEEMS to work on chrome but not on firefox

AlexLavoie42 commented 1 year ago

Yup, can confirm that it does the same for me on Firefox. I think its safe to assume that the issue is caused by the stackblitz webcontainer on firefox. I will report the issue to stackblitz and see if we can get it resolved.

image