we are using the @vue-email/nuxt package in our app just like described in the docs and it runs perfectly fine in our local environment. But when we deploy to Vercel we get the following error message:
[nuxt] [request error] [unhandled] [500] Cannot find package 'vue-email' imported from /var/task/node_modules/@vue-email/compiler/dist/index.mjs
at packageResolve (node:internal/modules/esm/resolve:858:9)
at moduleResolve (node:internal/modules/esm/resolve:915:20)
at moduleResolveWithNodePath (node:internal/modules/esm/resolve:1135:12)
at defaultResolve (node:internal/modules/esm/resolve:1178:79)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36)
Any idea what could be the reason?
We also tried to add vue-email as a dep manually, but nothing changed.
Hey there,
we are using the @vue-email/nuxt package in our app just like described in the docs and it runs perfectly fine in our local environment. But when we deploy to Vercel we get the following error message:
Any idea what could be the reason?
We also tried to add vue-email as a dep manually, but nothing changed.