RyanD
RyanD
CDCloudflare Developers
Created by RyanD on 9/26/2024 in #pages-discussions
I'm tried search, but I can't seem to
Duh, ok, worker routes do work but I had it .text.com/api/ but that was looking for a subdomain so when I removed the *. part it start working
2 replies
CDCloudflare Developers
Created by RyanD on 9/26/2024 in #pages-discussions
I'm tried search, but I can't seem to
I feel like worker routes would do this but it's not
2 replies
CDCloudflare Developers
Created by danboyle8637 on 12/13/2023 in #workers-help
Thinking Outside The Box With Durable Objects
I do this with email and sms, so I'm assuming push wouldn't be that different
4 replies
CDCloudflare Developers
Created by RyanD on 9/22/2023 in #pages-help
nodejs_compat compatibility-flags flags not working for Pages functions
I'm still confused why I can use --node-compat locally to get it to work but not when i deploy
8 replies
CDCloudflare Developers
Created by RyanD on 9/22/2023 in #pages-help
nodejs_compat compatibility-flags flags not working for Pages functions
so we can't use postgres from functions?
8 replies
CDCloudflare Developers
Created by RyanD on 9/22/2023 in #pages-help
nodejs_compat compatibility-flags flags not working for Pages functions
that's the error when I deploy, when it tries to build
8 replies
CDCloudflare Developers
Created by RyanD on 9/22/2023 in #pages-help
nodejs_compat compatibility-flags flags not working for Pages functions
I'm trying to just use pg like in one of the examples
10:16:15.088 ✘ [ERROR] Build failed with 24 errors:
10:16:15.088
10:16:15.088 ../node_modules/pg-cloudflare/dist/index.js:1:29: ERROR: Could not resolve "events"
10:16:15.088 ../node_modules/pg-connection-string/index.js:76:77: ERROR: Could not resolve "fs"
10:16:15.088 ../node_modules/pg-pool/index.js:2:29: ERROR: Could not resolve "events"
10:16:15.089 ../node_modules/pg-protocol/dist/parser.js:9:41: ERROR: Could not resolve "assert"
10:16:15.089 ../node_modules/pg/lib/client.js:3:27: ERROR: Could not resolve "events"
10:16:15.089 ...
10:16:15.089
10:16:15.088 ✘ [ERROR] Build failed with 24 errors:
10:16:15.088
10:16:15.088 ../node_modules/pg-cloudflare/dist/index.js:1:29: ERROR: Could not resolve "events"
10:16:15.088 ../node_modules/pg-connection-string/index.js:76:77: ERROR: Could not resolve "fs"
10:16:15.088 ../node_modules/pg-pool/index.js:2:29: ERROR: Could not resolve "events"
10:16:15.089 ../node_modules/pg-protocol/dist/parser.js:9:41: ERROR: Could not resolve "assert"
10:16:15.089 ../node_modules/pg/lib/client.js:3:27: ERROR: Could not resolve "events"
10:16:15.089 ...
10:16:15.089
8 replies
CDCloudflare Developers
Created by RyanD on 9/22/2023 in #pages-help
nodejs_compat compatibility-flags flags not working for Pages functions
locally, if I don't include node-compat I get the same error as when I deploy it. It feels the flag is not working when deploying
8 replies