are you using the stripe CLI locally to spin up the event forwarder and are you sending events via t
are you using the stripe CLI locally to spin up the event forwarder and are you sending events via the CLI locally?

The package "crypto" wasn't found on the file system but is built into node (also happens with fs and path)/functions/hello.js file in the root of the project that looks like this: npx wrangler pages dev and then went to http://localhost:8788/hello I would just see "Hello, world!" but instead of that I see the 404 page of my frontend app.wrangler pages functions build works fine./functions folder

const stripe = getStripe({ env })
const body = await request.text()
const sig = request.headers.get('stripe-signature')
const webCrypto = Stripe.createSubtleCryptoProvider()
const event = await stripe.webhooks.constructEventAsync(
body
sig,
env.STRIPE_ENDPOINT_SECRET,
undefined,
webCrypto
){
"baseURL": "/",
"routes": [
{
"method": "",
"module": [
"hello.js:onRequest"
],
"mountPath": "/",
"routePath": "/hello"
}
]
}compatibility_flags = [ "nodejs_compat" ]
compatibility_date = "2024-04-04"