-
Notifications
You must be signed in to change notification settings - Fork 4
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
bug: unstable leaflet.markercluster support #75
Comments
Hi ! Any error in your browser console or server logs ? |
Yes, sorry. I am getting this error: |
That's weird, I would expect such error to happen if you didn't activate the plugin or so. Can you provide a reproduction ? |
Well I think I found a temporary fix that specify the import of // When the map is ready
const onMapReady = async () => {
// Temp fix
await import('leaflet.markercluster')
useLMarkerCluster({
leafletObject: map.value.leafletObject,
markers: locations,
});
}; But still, I don't know where the error come from. 😕 |
Yeah I remember getting this kind of production-only error, and I must say I don't know what the fuck is going on lol I spent hours trying to debug why is this behaving so weirdly, that seems like a combination of :
I'm clearly laking some expertise here, and I must say the error is very hard to reproduce, it seems sometimes the browser will cache |
Yeah I am seeing that the error is not easily reproducible. I can do some tests by deleting cache and stuff, and checking in which situation it presents again. I really wanna help, also because I am building a product with map functionalities. |
Well It would be great to provide a Stackblitz reproduction. |
Update, I tried creating a fresh new project and setup the most minimal example, with the code provided here. Everything works fine in development mode, but still getting the same error upon running the built project: I am investigating. |
@Gugustinette Can build and run project with bun run build && node .output/server/index.mjs |
Yep, I was writing about that too but I saw that that error is indeed random, hence it happens sometimes, really do not know in which situations... Few weeks ago I was using the same stack and I did not encounter these errors. |
No significative update as far as I know, and I encountered these behavior even at the beginning of developing We would probably need the help of a more experienced person here. |
I did some testing with the app I am building and I can confirm the problem seems strictly related to the However, I was not able to exactly understand where the problem is with the package 🫠 |
Hi,
I have started a new Nuxt project (version 3.12.4) using the code provided in the Nuxt Leaflet Marker Cluster documentation. However, the markers are not displaying as expected.
I have configured the project with ssr: false, but the issue persists.
Am I missing something in the setup? Any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: