Replies: 1 comment
-
It seems that the problem is not related to SvelteKit. It seems that https://github.com/sendinblue/APIv3-typescript-library is not compatible with Cloudflare workers environment. You may ask them to update the library to be runnable in web-worker environment (Cloudflare workers is not NodeJS, it's more like web-workers in browser), or just make http calls to api directly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
After I installed
@sendinblue/client
and trying to deploy to Cloudflare withadapter-cloudflare
I'm getting the following errors. This error appears when runningpnpm build
. When I uninstall the@sendinblue/client
package and then runpnpm build
again, it works correctly.What can I try to fix this?
Error log
The package "url" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.✘ [ERROR] Could not resolve "url"
The package "url" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "net"
The package "net" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "tls"
The package "tls" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "http"
The package "http" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "https"
The package "https" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "events"
The package "events" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "assert"
The package "assert" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "http"
The package "http" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "net"
The package "net" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "tls"
The package "tls" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "https"
The package "https" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "url"
The package "url" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "http"
The package "http" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "querystring"
The package "querystring" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "stream"
The package "stream" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "url"
The package "url" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "fs"
The package "fs" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "stream"
The package "stream" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "querystring"
The package "querystring" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "querystring"
The package "querystring" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "url"
The package "url" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "assert"
The package "assert" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "stream"
The package "stream" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "assert"
The package "assert" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "buffer"
The package "buffer" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "assert"
The package "assert" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "stream"
The package "stream" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "stream"
The package "stream" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "assert"
The package "assert" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "util"
The package "util" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this
error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
✘ [ERROR] Could not resolve "crypto"
The package "crypto" wasn't found on the file system but is built into node. Are you
trying to bundle for node? You can use "platform: 'node'" to do that, which will remove
this error.
error during build:
Error: Build failed with 79 errors:
node_modules/.pnpm/[email protected]/node_modules/asn1/lib/ber/reader.js:3:21: ERROR: Could not resolve "assert"
node_modules/.pnpm/[email protected]/node_modules/asn1/lib/ber/writer.js:3:21: ERROR: Could not resolve "assert"
node_modules/.pnpm/[email protected]/node_modules/assert-plus/assert.js:4:21: ERROR: Could not resolve "assert"
node_modules/.pnpm/[email protected]/node_modules/assert-plus/assert.js:5:21: ERROR: Could not resolve "stream"
node_modules/.pnpm/[email protected]/node_modules/assert-plus/assert.js:6:19: ERROR: Could not resolve "util"
...
at failureErrorWithLog (/home/feva/projects/zentu/dev/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1604:15)
at /home/feva/projects/zentu/dev/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1056:28
at /home/feva/projects/zentu/dev/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1001:67
at buildResponseToResult (/home/feva/projects/zentu/dev/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1054:7)
at /home/feva/projects/zentu/dev/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1166:14
at responseCallbacks. (/home/feva/projects/zentu/dev/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:701:9)
at handleIncomingPacket (/home/feva/projects/zentu/dev/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:756:9)
at Socket.readFromStdout (/home/feva/projects/zentu/dev/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:677:7)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
ELIFECYCLE Command failed with exit code 1.
Beta Was this translation helpful? Give feedback.
All reactions