Walshy | Pages
02/15/2023, 6:35 PMWalshy | Pages
02/15/2023, 6:35 PMzsmooth
02/15/2023, 6:37 PMzsmooth
02/15/2023, 6:38 PMWalshy | Pages
02/15/2023, 6:38 PMzsmooth
02/15/2023, 6:40 PMWalshy | Pages
02/15/2023, 6:40 PMzsmooth
02/15/2023, 6:41 PMSkye
02/15/2023, 6:41 PMWalshy | Pages
02/15/2023, 6:41 PMzsmooth
02/15/2023, 6:42 PMzsmooth
02/15/2023, 6:43 PMUnsmart | Tech debt
02/15/2023, 6:43 PMzsmooth
02/15/2023, 6:44 PMzsmooth
02/15/2023, 6:48 PMzsmooth
02/15/2023, 6:49 PMWalshy | Pages
02/15/2023, 6:50 PMzsmooth
02/15/2023, 7:02 PMWalshy | Pages
02/15/2023, 7:03 PMWalshy | Pages
02/15/2023, 7:03 PMzsmooth
02/15/2023, 7:12 PMzsmooth
02/15/2023, 7:16 PMzsmooth
02/15/2023, 7:21 PMcristian.chera
02/15/2023, 11:18 PMArthur
02/16/2023, 8:05 AM@cloudflare/pages-plugin-mailchannels
package does not have "type": "module"
in its package.json
, therefore when trying to use it. It throws an exception, can this be resolved? Thanks ♥kian
02/16/2023, 8:11 AMArthur
02/16/2023, 8:33 AMArthur
02/16/2023, 8:35 AM08:59:26.671 (node:1555) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
08:59:26.672 (Use `node --trace-warnings ...` to show where the warning was created)
08:59:26.674 /opt/buildhome/repo/node_modules/@cloudflare/pages-plugin-mailchannels/index.js:893
08:59:26.674 export {
08:59:26.675 ^^^^^^
08:59:26.675
08:59:26.675 SyntaxError: Unexpected token 'export'
08:59:26.675 at Object.compileFunction (node:vm:360:18)
08:59:26.675 at wrapSafe (node:internal/modules/cjs/loader:1094:15)
08:59:26.676 at Module._compile (node:internal/modules/cjs/loader:1129:27)
08:59:26.676 at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
08:59:26.676 at Module.load (node:internal/modules/cjs/loader:1043:32)
08:59:26.676 at Function.Module._load (node:internal/modules/cjs/loader:878:12)
08:59:26.676 at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
08:59:26.676 at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
08:59:26.676 at async Promise.all (index 0)
08:59:26.676 at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
08:59:26.685 [vite-plugin-sveltekit-compile] Failed with code 1
08:59:26.686 error during build:
08:59:26.686 Error: Failed with code 1
08:59:26.687 at ChildProcess.<anonymous> (file:///opt/buildhome/repo/node_modules/@sveltejs/kit/src/utils/fork.js:68:13)
08:59:26.687 at ChildProcess.emit (node:events:513:28)
08:59:26.687 at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
08:59:26.711 Failed: build command exited with code: 1
08:59:27.612 Failed: an internal error occurred
kian
02/16/2023, 8:36 AMArthur
02/16/2023, 8:36 AM