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 on Vercel edge when building #39

Closed isakgustavsen closed 4 months ago

isakgustavsen commented 8 months ago

Build fails when deploying to Vercel edge using nuxt with the following errors /vercel/path0/.nuxt/dist/server/_nuxt/welcome-BePl3Abn.js:6034:15: ERROR: Big integer literals are not available in the configured target environment ("es2019")

Big integer literals are not available in the configured target environment ("es2019")

The current fix for me is to add this to nuxt.config, but that should either be documented or fixed as it is hard to find. Not sure which is the better option. vite: { esbuild: { target: 'esnext' } },

isakgustavsen commented 8 months ago

also this: Issues with peer dependencies found . └─┬ nuxt 3.10.3 └─┬ @nuxt/vite-builder 3.10.3 └─┬ vite 5.1.5 └── ✕ unmet peer @types/node@"^18.0.0 || >=20.0.0": found 14.18.33

isakgustavsen commented 8 months ago

just had the issue with the esnext, but removing autoimport fixed the build

Flowko commented 4 months ago

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