Wrangler error with C3 scheduled worker

When creating a scheduled worker with C3, upon running Wrangler with --test-scheduled and visiting http://localhost:8787/__scheduled?cron=*+*+*+*+*, I get the following error:
[wrangler:inf] GET /__scheduled 200 OK (36ms)
[wrangler:err] AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

(0, import_assert5.default)(prepareStackTrace !== void 0)

at getSourceMapper (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:5749:30)
at getSourceMappedStack (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:5822:10)
at reviveError (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:5856:17)
at handlePrettyErrorRequest (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:5861:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async #handleLoopback (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:8584:20)
[wrangler:inf] GET /__scheduled 200 OK (36ms)
[wrangler:err] AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

(0, import_assert5.default)(prepareStackTrace !== void 0)

at getSourceMapper (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:5749:30)
at getSourceMappedStack (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:5822:10)
at reviveError (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:5856:17)
at handlePrettyErrorRequest (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:5861:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async #handleLoopback (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\[email protected]\node_modules\miniflare\dist\src\index.js:8584:20)
No description
1 Reply
Rihan
RihanOP12mo ago
I've seen Walshy's reply on the forums, and the fix PR is merged, so I tried with wrangler@beta, but I get a more severe error now.
No description
Want results from more Discord servers?
Add your server