vue-email / nuxt

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

Support for cloudflare-pages #26

Closed crackerjack-tech closed 8 months ago

crackerjack-tech commented 8 months ago

Hi, seen this mentioned in another issue but no clear answer was given.

When I build for the cloudflare-pages environment I get the following error:

  at Object.resolveId (node_modules/nitropack/dist/shared/nitro.4ea992bc.mjs:1973:17)
  at async PluginDriver.hookFirstAndGetPlugin (node_modules/rollup/dist/es/shared/node-entry.js:18592:28)
  at async resolveId (node_modules/rollup/dist/es/shared/node-entry.js:17261:26)
  at async ModuleLoader.resolveId (node_modules/rollup/dist/es/shared/node-entry.js:17675:15)
  at async node_modules/@rollup/plugin-commonjs/dist/es/index.js:785:16
  at async Promise.all (index 3)
  at async node_modules/@rollup/plugin-commonjs/dist/es/index.js:777:32
  at async rewriteRequireExpressionsAndGetImportBlock (node_modules/@rollup/plugin-commonjs/dist/es/index.js:1354:28)
  at async transformCommonjs (node_modules/@rollup/plugin-commonjs/dist/es/index.js:1928:23)
  at async transform (node_modules/rollup/dist/es/shared/node-entry.js:17593:16) 

 ERROR  Cannot resolve "pnpapi" from "/node_modules/esbuild/lib/main.js" and externals are not allowed!                          

Should I be able to build for this environment? If not, are you able to advise on when it may be available - if all?

Thanks.

Flowko commented 8 months ago

Duplicate of #2