-
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: regression on nuxt@3.13.2 breaking the entire module #80
Comments
Ooh that's weird, can you provide a reproduction ? |
Suffering the same after updating to nuxt@3.13.2. |
Forcing nuxt@3.13.1 does not trigger error. Only 3.13.2 |
same problem, after updating to nuxt@3.13.2 |
After further investigations, I think this is more or less due to this fix from nuxt@3.13.2. But I'm really not sure what should be changed on the module side, this is how components from vue-leaflet are imported : for (const component of components) {
addComponent({
name: component,
export: component,
filePath: '@vue-leaflet/vue-leaflet',
chunkName: `nuxt-leaflet/${component}`,
mode: 'all',
})
} @danielroe any suggestion on this ? You can develop on the module playground directly here : https://stackblitz.com/~/github.com/nuxt-modules/leaflet and try to navigate to |
yes, this is a nuxt bug. |
Re-opening until the fix is released, for now stick with |
Is the fix going to be included in the next release or the current one 3.13.2? |
@ipanamski You'll have to wait for a new release, I'll update this issue when it is available 👍 |
It may be interesting to remind that it can be mitigated by wrapping Never used NuxtErrorBoundary much, but its really interesting as it can save the page from breaking in these kind of scenarios. Lovely stuff! |
Looks like this will be fixed on |
As far as I tested, this seems resolved with Nuxt Leaflet 1.2.4. @tobychidi can you confirm ? |
Not op but I can confirm, works with 3.14 on my end 👍🏼 |
The issue has been resolved. Thank you @Gugustinette |
Cool ! Thanks a lot everyone 👍 |
The requested module '/nuxt/@fs/C:/Users/tobychidi/Documents/GitHub/kaycee/Rotabliss/node_modules/.pnpm/@vue-leaflet+vue-leaflet@0.10.1@types+leaflet@1.9.12_leaflet@1.9.4_typescript@5.6.2/node_modules/@vue-leaflet/vue-leaflet/dist/vue-leaflet.cjs.js?v=6cbe18fd' does not provide an export named 'LTileLayer'
The text was updated successfully, but these errors were encountered: