vue-email / nuxt

💚 Official Nuxt module for Vue Email. Build email templates with Vue components.
https://vuemail.net/getting-started/nuxt-nitro
MIT License
110 stars 3 forks source link

Error when using npm run dev after installed #45

Closed brunobrasilweb closed 5 months ago

brunobrasilweb commented 7 months ago

// package.json "devDependencies": { "@nuxt/content": "^2.12.1", "@nuxt/devtools": "latest", "@nuxt/ui": "^2.13.0", "@nuxtjs/i18n": "^8.3.1", "@nuxtjs/supabase": "^1.2.1", "nuxt": "^3.10.1", "nuxt-disqus": "^1.0.1" }, "dependencies": { "@vue-email/nuxt": "^0.8.19", "@vueuse/core": "^10.9.0", "resend": "^3.2.0", "yup": "^1.4.0" }

ERROR: No driver set for storage mount point "50".
nitro 15:31:12

WARN No driver set for storage mount point "100". nitro 15:31:12

WARN No driver set for storage mount point "200". nitro 15:31:12

WARN No driver set for storage mount point "300". nitro 15:31:12

WARN No driver set for storage mount point "400". nitro 15:31:12

WARN No driver set for storage mount point "500". nitro 15:31:12

WARN No driver set for storage mount point "600". nitro 15:31:12

WARN No driver set for storage mount point "700". nitro 15:31:12

WARN No driver set for storage mount point "800". nitro 15:31:12

WARN No driver set for storage mount point "900". nitro 15:31:12

WARN No driver set for storage mount point "950". nitro 15:31:12

WARN No driver set for storage mount point "DEFAULT". nitro 15:31:12

ERROR [uncaughtException] callback is not a function 15:31:12

at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

RealBuddy commented 7 months ago

same issue it looks like I cannot use '@nuxt/ui' and '@vue-email/nuxt' together :(

admiralsemu commented 6 months ago

@RealBuddy - that's very annoying if that's correct. How did you come to this conclusion?

RealBuddy commented 6 months ago

Just try to use both modules in one nuxt project

admiralsemu commented 6 months ago

I have also tried to use both modules and am getting a myriad of errors. Hope this is an easy fix.

cull2203 commented 6 months ago

same issue it looks like I cannot use '@nuxt/ui' and '@vue-email/nuxt' together :(

I am getting the exact same issue when I use '@nuxt/ui' and '@vue-email/nuxt' together

cull2203 commented 6 months ago

I have also tried to use both modules and am getting a myriad of errors. Hope this is an easy fix.

There is another issue raised about this #1773

kstraszewski commented 6 months ago

I found a workaround for that. You need to change order of nuxt modules, and move Vue-email/nuxt before Nuxt/ui. It fixes this issue for me.

cull2203 commented 6 months ago

I found a workaround for that. You need to change order of nuxt modules, and move Vue-email/nuxt before Nuxt/ui. It fixes this issue for me.

I have tried your solution and it seems to work when updating to @nuxt/ui '^2.16.0'. The problem I found was the previous version.

My modules now look like this and work as expected, thanks for your input.

modules: [ '@vue-email/nuxt', '@nuxt/ui', '@nuxt/image', '@pinia/nuxt', '@pinia-plugin-persistedstate/nuxt', '@nuxtjs/supabase', '@unlok-co/nuxt-stripe', '@nuxtjs/turnstile', 'nuxt-resend', 'nuxt-rating' ]

Flowko commented 5 months ago

we just merged a new project rewrite, please do check the docs and the updated logic https://vuemail.net/