nuxt-mail icon indicating copy to clipboard operation
nuxt-mail copied to clipboard

Deploying Nuxt Mail to Cloudflare pages

Open mattgrah-am opened this issue 1 year ago • 2 comments

Has anyone had any success using this module with Cloudflare pages?

When I try to deploy via a Github repo I get the following error at the end of the deployment:

Error: Failed to publish your Function. Got error: Uncaught TypeError: Class extends value #<Object> is not a constructor or null
  at chunks/runtime.mjs:17962:20

Deploying it via wrangler provides a little more detail:

✘ [ERROR] service core:user:worker: Uncaught TypeError: Class extends value #<Object> is not a constructor or null

    at null.<anonymous> (h0rrzz8k09m.js:15527:5) in .wrangler/tmp/pages-LwLK14/chunks/runtime.mjs
    at null.<anonymous> (h0rrzz8k09m.js:4:59) in __init
    at null.<anonymous> (h0rrzz8k09m.js:17973:1)


✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.

mattgrah-am avatar May 05 '24 06:05 mattgrah-am