geelen
02/18/2022, 10:00 AMgeelen
02/18/2022, 10:03 AMCrownedHead
02/18/2022, 5:26 PMfubhy
02/18/2022, 5:43 PMfubhy
02/18/2022, 5:43 PMfubhy
02/18/2022, 5:45 PMGreg Brimble | Cloudflare Pages
02/18/2022, 5:46 PMfubhy
02/18/2022, 5:47 PMGreg Brimble | Cloudflare Pages
02/18/2022, 5:47 PMCrownedHead
02/18/2022, 8:12 PMIsaac McFadyen | YYZ01
02/18/2022, 8:12 PMreturn await event.next()
where event is the input to your Function.Isaac McFadyen | YYZ01
02/18/2022, 8:13 PMCrownedHead
02/18/2022, 8:15 PMIsaac McFadyen | YYZ01
02/18/2022, 8:16 PMevent.next()
will return null
if the page doesn't exist but I'd check to confirm that since I'm not sure.CrownedHead
02/18/2022, 8:16 PMIsaac McFadyen | YYZ01
02/18/2022, 8:17 PMJason Shore
02/18/2022, 8:31 PMJason Shore
02/18/2022, 8:35 PM21:41:02.798 5 error(s) and 0 warning(s) when compiling Worker.
21:41:02.800 Build failed with 5 errors:
21:41:02.800 ../../../buildhome/repo/node_modules/stripe/lib/StripeResource.js:3:21: ERROR: Could not resolve "path"
21:41:02.800 ../../../buildhome/repo/node_modules/stripe/lib/crypto/NodeCryptoProvider.js:3:23: ERROR: Could not resolve "crypto"
21:41:02.800 ../../../buildhome/repo/node_modules/stripe/lib/net/NodeHttpClient.js:3:21: ERROR: Could not resolve "http"
21:41:02.800 ../../../buildhome/repo/node_modules/stripe/lib/net/NodeHttpClient.js:4:22: ERROR: Could not resolve "https"
21:41:02.800 ../../../buildhome/repo/node_modules/stripe/lib/utils.js:5:23: ERROR: Could not resolve "crypto"
21:41:02.811 Failed building Pages Functions from /functions.
Larry
02/18/2022, 9:02 PMwrangler pages dev --do COUNTER=Counter
. I get ERR_CLASS_NOT_FOUND no matter what I try. @User, this is essentially the same question as a week ago, but I've tried a lot more since then, and I can now confirm that it works in prod.zeshhaan
02/19/2022, 5:32 AM.json
endpoint to fetch data and generate UI for my site?Erwin
02/19/2022, 8:15 AMBrock
02/19/2022, 8:16 PM13:10:50.415 β [ERROR] Could not resolve "stripe"
13:10:50.415
13:10:50.415 ../../../buildhome/repo/functions/activation.js:2:27:
13:10:50.415 2 β const Stripe = require("stripe");
13:10:50.415 β΅ ~~~~~~~~
13:10:50.415
13:10:50.415 You can mark the path "stripe" as external to exclude it from the bundle, which will remove this error. You can also surround this "require" call with a try/catch block to handle this failure at run-time instead of bundle-time.
Kieran Huggins
02/20/2022, 8:05 AMJustinNoel
02/20/2022, 1:17 PMRaifY
02/20/2022, 4:01 PMFile
object?RaifY
02/20/2022, 4:02 PM2021-11-03
Isaac McFadyen | YYZ01
02/20/2022, 4:23 PMRaifY
02/20/2022, 4:25 PMsomething instanceof File
, How to set compatibility date? wrangler.toml
does not seems work locallyRaifY
02/20/2022, 4:26 PMIsaac McFadyen | YYZ01
02/20/2022, 4:31 PMwrangler.toml
. I'm not sure how to set the compatibility date actually, or even if it's available.