Bierman
Bierman
CDCloudflare Developers
Created by windwp on 2/28/2024 in #workers-help
is worker pro plan has a spending limit
Bump, I love CF products but really wish we had this feature
31 replies
CDCloudflare Developers
Created by yehia on 7/5/2023 in #workers-help
Sveltekit - mongoose - serverless mongodb
Curious if you ever figured this out, is there any way to get mongoose to work on cloudflare workers?
2 replies
CDCloudflare Developers
Created by Bierman on 10/31/2023 in #workers-help
how to handle dependencies using node built-ins
Thanks a ton for the response! Is there a wrangler doctor type of command that helps detect what packages are causing these errors? Or is it more of a trial and error thing just running wrangler + yarn why until I can get it working? Appreciate your help šŸ™‚
7 replies
CDCloudflare Developers
Created by Bierman on 10/31/2023 in #workers-help
how to handle dependencies using node built-ins
āœ˜ [ERROR] No matching export in "node-modules-polyfills:stream" for import "pipeline" ../node_modules/node-fetch/src/index.js:12:29: 12 ā”‚ import Stream, {PassThrough, pipeline as pump} from 'node:stream'; ā•µ ~~ āœ˜ [ERROR] No matching export in "node-modules-polyfills:net" for import "isIP" ../node_modules/node-fetch/src/utils/referrer.js:1:8: 1 ā”‚ import {isIP} from 'node:net'; ā•µ āœ˜ [ERROR] No matching export in "node-modules-polyfills:url" for import "fileURLToPath" ../node_modules/trpc-panel/lib/index.mjs:2:9: 2 ā”‚ import { fileURLToPath } from 'node:url'; ā•µ ~~~ ā•­ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā•® ā”‚ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit ā”‚ ā•°ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā•Æ āœ˜ [ERROR] Failed to build If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
7 replies
CDCloudflare Developers
Created by Bierman on 10/31/2023 in #workers-help
how to handle dependencies using node built-ins
yarn wrangler:dev ā›…ļø wrangler 3.15.0 ------------------- ā–² [WARNING] Processing src/wrangler.toml configuration: - šŸ˜¶ Ignored: "type": Most common features now work out of the box with wrangler, including modules, jsx, typescript, etc. If you need anything more, use a custom build. ā–² [WARNING] Enabling Node.js compatibility mode for built-ins and globals. This is experimental and has serious tradeoffs. Please see https://github.com/ionic-team/rollup-plugin-node-polyfills/ for more details. āœ˜ [ERROR] No matching export in "node-modules-polyfills:fs" for import "statSync" ../node_modules/fetch-blob/from.js:1:9: 1 ā”‚ import { statSync, createReadStream, promises as fs } from 'node:fs' ā•µ ~~ āœ˜ [ERROR] No matching export in "node-modules-polyfills:fs" for import "createReadStream" ../node_modules/fetch-blob/from.js:1:19: 1 ā”‚ import { statSync, createReadStream, promises as fs } from 'node:fs' ā•µ ~~~~ āœ˜ [ERROR] No matching export in "node-modules-polyfills:fs" for import "promises" ../node_modules/fetch-blob/from.js:1:37: 1 ā”‚ import { statSync, createReadStream, promises as fs } from 'node:fs' ā•µ ~~ āœ˜ [ERROR] No matching export in "node-modules-polyfills:util" for import "types" ../node_modules/node-fetch/src/body.js:9:8: 9 ā”‚ import {types, deprecate, promisify} from 'node:util'; ā•µ ~ āœ˜ [ERROR] No matching export in "node-modules-polyfills:util" for import "promisify" ../node_modules/node-fetch/src/body.js:9:26: 9 ā”‚ import {types, deprecate, promisify} from 'node:util'; ā•µ ~~~ āœ˜ [ERROR] No matching export in "node-modules-polyfills:util" for import "types" ../node_modules/node-fetch/src/headers.js:7:8: 7 ā”‚ import {types} from 'node:util'; ā•µ ~~~
7 replies