Open
Description
I'm attempting to deploy a Svelte app to Cloudflare Pages. The app builds, but I have two issues related to @nangohq/node that are keeping me from deploying. Could someone possibly point me in the right direction of how to resolve these? Thank you!
Could not resolve "node:https"
../../node_modules/.pnpm/@nangohq+node@0.42.20/node_modules/@nangohq/node/dist/index.js:3:18:
3 │ import https from 'node:https';
╵ ~~~~~~~~~~~~
Cannot use "node:https" when deploying to Cloudflare.
Could not resolve "os"
../../node_modules/.pnpm/@nangohq+node@0.42.20/node_modules/@nangohq/node/dist/utils.js:1:15:
1 │ import os from 'os';
╵ ~~~~
Cannot use "os" when deploying to Cloudflare.
error during build:
Error: Bundling with esbuild failed with 2 errors
Metadata
Metadata
Assignees
Labels
No labels