Closed eakenbor closed 3 months ago
Looks like the ESM update in @adminjs/leaflet
was broken/unfinished. I've fixed this just now in 2.0.1:
https://github.com/SoftwareBrothers/adminjs-leaflet/releases/tag/v2.0.1
@dziraf although this problem is solved in development, it's present in production. Please can you have a look?
Contact Details
No response
What happened?
My leaflet map is rendering scattered as shown in the attached image.![Company](https://github.com/SoftwareBrothers/adminjs/assets/30095266/8304570a-8790-46a6-ad77-ed11373542d9)
See my code below.
Also, when I tried to use
app.use(express.static(getLeafletDist()));
in my server.js, I get the following error:Please can anyone help me with this?
Bug prevalence
Every time
AdminJS dependencies version
"@adminjs/express": "^6.0.0", "@adminjs/leaflet": "^2.0.0", "@adminjs/mongoose": "^4.0.0", "@adminjs/themes": "^1.0.0", "adminjs": "^7.0.5",
What browsers do you see the problem on?
Chrome
Relevant log output
No response
Relevant code that's giving you issues
No response