Closed vanling closed 7 months ago
In the same situation..
@vanling any idea how we can overcome this little problem? Thanks.
@oscarmartins not yet unfortunately :(
Love this module, hope it's working soon.. would rather not make that email-html by hand ð Changing some codebases like this for now.
// import { useCompiler } from '#vue-email'
const template = `${name} (${email}) send message:<br><br>${message}}` // await useCompiler('contact-form.vue', {
// ...body,
// })
@vanling ð I love this module too. Hope it's up and running soon. Crafting email HTML by hand feels like a journey back in time! ðĐâðŧâĻ Making some code changes for now...ðĪŠ
I had the same issue. It seems to come from the last version of vue/compiler-sfc and not vue-email. I solved it by overriding vue version of Nuxt to 3.3.8.
@dbudano, appreciate the suggestion! However, I'm currently on Nuxt version 3.8.1.
@Dave136, do you happen to have any suggestions on how to work around this situation?
@dbudano , my apologies for the misunderstanding. I initially misinterpreted it, thinking it was related to the Nuxt version. If it's not too much to ask, would it be possible to share the configuration you have in nuxt.config and the versions of the modules you are using?
@oscarmartins, I think you misunderstood...
You have to override the Vue version that Nuxt is using. You can edit your package.json
{
...
"dependencies": {
...
"vue": "3.3.8",
},
"overrides": {
"@nuxt/devtools": {
"vue": "3.3.8"
},
"nuxt": {
"vue": "3.3.8"
}
}
It allows me to build again while we are waiting for a fix. To be sure, I have also deleted lock files and node_modules.
Hello,
Build works with this workaround but at the launch of the app, this error et throwned :
[nuxt] [request error] [unhandled] [500] Cannot find module '/Users/app/.output/server/node_modules/vue/server-renderer/index.mjs' imported from /Users/app/.output/server/chunks/handlers/renderer.mjs
Also i'v noticed that this WARN is shown during the build :
âđ .nuxt/dist/client/_nuxt/entry.a6709859.js 621.99 kB â gzip: 218.63 kB 8:56:22 AM
WARN 8:56:22 AM
(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
@dbudano thanks for ur reply, it helped me figure out what was causing it, we fixed it on the new version, not yet published, but will let you guys know once its done
fixed in 0.8.0
, please upgrade and let us know
I can check monday morning <3 thanks for the hard work!
Thank you very much, I just updated and it works !
just as a note here, u no longer need vue-i18n
installed, it should work without it just fine
Node 20 / Nuxt 3.8.2
Installed vue-email, @vue-email/nuxt and even vue-i18n (different issue, nuxt wont start without vue-i18n) I tried it with multiple 0.8.0 beta versions, no luck.
Error shows when doing 'npm run build' In dev mode it all works.
My last attempt was only using
"@vue-email/compiler": "^0.8.0-beta.8",
and that resulted in same error