V0 Package manager returns "could not resolve build entry" for leaflet

I’m experiencing a problem with trying to use Leaflet (map alternative to google maps). This is the error message I see in the v0 preview:
Failed to load “leaflet” from “blob:https://preview-duplicate-of-fork-of-horse-website-kzmg29qkt36qbnews6k2.vusercontent.net/cd6f5e30-877c-4a5f-94a0-9f4c8c0fd8d5. Modules must be served with a valid MIME type like application/javascript.”, make sure it exists.

Despite the preview not working, the build works fine, and that the deploy is successful.

When I view the https://esm.v0.dev/leaflet@%5E1.9.4/dist resource in the network tab, I see the response is the text/plain “could not resolve build entry”. I believe this is the source of the issue, something in the V0 package pipeline seems to be failing. I expect to see Javascript in this dist folder.

Any help getting this unstuck would be appreciated! Thank you!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.