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\miniflare@3.20231218.1\node_modules\miniflare\dist\src\index.js:5749:30)
at getSourceMappedStack (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\miniflare@3.20231218.1\node_modules\miniflare\dist\src\index.js:5822:10)
at reviveError (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\miniflare@3.20231218.1\node_modules\miniflare\dist\src\index.js:5856:17)
at handlePrettyErrorRequest (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\miniflare@3.20231218.1\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\miniflare@3.20231218.1\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\miniflare@3.20231218.1\node_modules\miniflare\dist\src\index.js:5749:30)
at getSourceMappedStack (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\miniflare@3.20231218.1\node_modules\miniflare\dist\src\index.js:5822:10)
at reviveError (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\miniflare@3.20231218.1\node_modules\miniflare\dist\src\index.js:5856:17)
at handlePrettyErrorRequest (D:\.pnpm-store\v3\tmp\dlx-31712\node_modules\.pnpm\miniflare@3.20231218.1\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\miniflare@3.20231218.1\node_modules\miniflare\dist\src\index.js:8584:20)