Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Asserting like this: `expect(res2.

Asserting like this: expect(res2.headers.get('CF-Cache-Status')).toBe('HIT') I am using waitUntil for the cache put, but awaiting it doesn't seem to work either...

sorry for all the spam, haha

sorry for all the spam, haha ``` workerd/io/worker.c++:1816: info: uncaught exception; source = Uncaught (in promise); exception = TypeError: Cannot use require() to import an ES Module. workerd/io/io-context.c++:359: info: uncaught exception; exception = workerd/jsg/_virtual_includes/jsg/workerd/jsg/value.h:1343: fa...

Fetch cannot load MY_PATH

I'm currently stuck with this error cross all integration tests:
TypeError: Fetch API cannot load: <MY_PATH>
TypeError: Fetch API cannot load: <MY_PATH>
...

Had a really strange issue where my

Had a really strange issue where my tests could no longer run due to AssertionError: Expected Vitest to start running before importing modules
No description

getting a few weird errors when trying

getting a few weird errors when trying to run this
workerd/server/server.c++:2676: error: Fallback service failed to fetch module; payload = ; spec = /?specifier=%2FUsers%2Fandreasthomas%2Fgithub%2Funkeyed%2Funkey%2Fnode_modules%2F.pnpm%2F%40hono%2Bzod-validator%400.1.11_hono%404.1.0_zod%403.22.4%2Fnode_modules%2F%40hono%2Fzod-validator%2Fdist%2Fesm%2Findex.js&referrer=%2FUsers%2Fandreasthomas%2Fgithub%2Funkeyed%2Funkey%2Fnode_modules%2F.pnpm%2F%40hono%2Bzod-openapi%400.9.8_hono%404.1.0_zod%403.22.4%2Fnode_modules%2F%40hono%2Fzod-openapi%2Fdist%2Findex.mjs
workerd/server/server.c++:2676: error: Fallback service failed to fetch module; payload = ; spec = /?specifier=%2FUsers%2Fandreasthomas%2Fgithub%2Funkeyed%2Funkey%2Fnode_modules%2F.pnpm%2F%40hono%2Bzod-validator%400.1.11_hono%404.1.0_zod%403.22.4%2Fnode_modules%2F%40hono%2Fzod-validator%2Fdist%2Fesm%2Findex.js&referrer=%2FUsers%2Fandreasthomas%2Fgithub%2Funkeyed%2Funkey%2Fnode_modules%2F.pnpm%2F%40hono%2Bzod-openapi%400.9.8_hono%404.1.0_zod%403.22.4%2Fnode_modules%2F%40hono%2Fzod-openapi%2Fdist%2Findex.mjs
the mentioned package @hono/zod-validator is installed and runs correctly when I run the worker via wrangler...

R2 help

Hi Friends, I have registered with cloudflare. I am looking for for the following parameter values. CLOUDFLARE_R2_ACCESS_KEY_ID=xxxxxx -- OK #2 CLOUDFLARE_R2_SECRET_ACCESS_KEY= -- Help CLOUDFLARE_R2_BUCKET=mytesting...