--- 2025-06-26T20:45:25.147Z debug 🪵 Writing logs to "/Users/yolocat/Library/Preferences/.wrangler/logs/wrangler-2025-06-26_20-45-24_978.log" --- --- 2025-06-26T20:45:25.147Z debug Metrics dispatcher: Posting data {"deviceId":"50d2713b-b4bd-4a5a-bc5a-afc67ebf7f62","event":"wrangler command started","timestamp":1750970725147,"properties":{"amplitude_session_id":1750970725144,"amplitude_event_id":0,"wranglerVersion":"4.22.0","osPlatform":"Mac OS","osVersion":"Darwin Kernel Version 23.6.0: Thu Sep 12 23:35:29 PDT 2024; root:xnu-10063.141.1.701.1~1/RELEASE_ARM64_T6000","nodeVersion":20,"packageManager":"pnpm","isFirstUsage":false,"configFileType":"jsonc","isCI":false,"isPagesCI":false,"isWorkersCI":false,"isInteractive":true,"hasAssets":false,"argsUsed":["e","env"],"argsCombination":"e, env","command":"wrangler dev","args":{"env":"","e":"","xJsonConfig":true,"j":true,"latest":true,"noBundle":false,"remote":false,"r":false,"testScheduled":false,"xVectorizeBindToProd":false,"xImagesLocalMode":false}}} --- --- 2025-06-26T20:45:25.153Z debug .env file not found at ".env.dev". Continuing... For more details, refer to https://developers.cloudflare.com/workers/wrangler/system-environment-variables/ --- --- 2025-06-26T20:45:25.153Z debug .env file not found at ".env". Continuing... For more details, refer to https://developers.cloudflare.com/workers/wrangler/system-environment-variables/ --- --- 2025-06-26T20:45:25.215Z log ⛅️ wrangler 4.22.0 ─────────────────── --- --- 2025-06-26T20:45:25.359Z debug .env file not found at ".dev.vars.dev". Continuing... For more details, refer to https://developers.cloudflare.com/workers/wrangler/system-environment-variables/ --- --- 2025-06-26T20:45:25.359Z debug .env file not found at ".dev.vars". Continuing... For more details, refer to https://developers.cloudflare.com/workers/wrangler/system-environment-variables/ --- --- 2025-06-26T20:45:25.359Z log Your Worker has access to the following bindings: --- --- 2025-06-26T20:45:25.360Z log Binding Resource Mode --- --- 2025-06-26T20:45:25.360Z log env.MAIN_DB (main-db-dev) D1 Database  local --- --- 2025-06-26T20:45:25.360Z log env.ENVIRONMENT ("dev") Environment Variable local --- --- 2025-06-26T20:45:25.360Z log --- --- 2025-06-26T20:45:25.423Z debug RemoteRuntimeController teardown beginning... --- --- 2025-06-26T20:45:25.423Z debug RemoteRuntimeController teardown complete --- --- 2025-06-26T20:45:25.426Z log ⎔ Starting local server... --- --- 2025-06-26T20:45:25.557Z error ✘ [ERROR] workerd/server/workerd-api.c++:961: error: wrapped binding module can't be resolved (internal modules only); moduleName = cloudflare-internal:d1-api --- --- 2025-06-26T20:45:25.558Z debug workerd/jsg/util.c++:320: error: e = workerd/server/workerd-api.c++:991: failed: expected !value.IsEmpty(); global did not produce v8::Value stack: 1001031a7 1000d819f 100676fdf 10065d21f 1000a7e8f 1000ae2b7 1000b2653 1000b09e7 1000a160f 1022a151b 1022a1823 1022a026b 10229ffd7 100090803 1867f7153; sentryErrorContext = jsgInternalError; wdErrId = m0hi21e107j5kbofaha9cvol service core:user:api-dev: Uncaught Error: internal error; reference = m0hi21e107j5kbofaha9cvol --- --- 2025-06-26T20:45:25.560Z debug Error in LocalRuntimeController: Error reloading local server MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above. at #assembleAndUpdateConfig (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:20823:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Mutex.runWith (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:2197:48) at async #waitForReady (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:20898:5) at async #onBundleComplete (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/wrangler@4.22.0/node_modules/wrangler/wrangler-dist/cli.js:174475:33) at async Mutex.runWith (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:2197:48) { code: 'ERR_RUNTIME_FAILURE', cause: undefined } --- --- 2025-06-26T20:45:25.560Z debug => Error contextual data: undefined --- --- 2025-06-26T20:45:25.560Z log --- --- 2025-06-26T20:45:25.561Z error ✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above. --- --- 2025-06-26T20:45:25.561Z debug MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above. at #assembleAndUpdateConfig (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:20823:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Mutex.runWith (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:2197:48) at async #waitForReady (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:20898:5) at async #onBundleComplete (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/wrangler@4.22.0/node_modules/wrangler/wrangler-dist/cli.js:174475:33) at async Mutex.runWith (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:2197:48) --- --- 2025-06-26T20:45:25.561Z log If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose --- --- 2025-06-26T20:45:25.593Z debug RemoteRuntimeController teardown beginning... --- --- 2025-06-26T20:45:25.593Z debug RemoteRuntimeController teardown complete --- --- 2025-06-26T20:45:25.593Z log ⎔ Reloading local server... --- --- 2025-06-26T20:45:25.618Z debug [InspectorProxyWorker] handleProxyControllerIncomingMessage {"type":"reloadStart"} --- --- 2025-06-26T20:45:25.619Z debug [InspectorProxyWorker] handleProxyControllerIncomingMessage {"type":"reloadStart"} --- --- 2025-06-26T20:45:25.620Z debug workerd/server/workerd-api.c++:961: error: wrapped binding module can't be resolved (internal modules only); moduleName = cloudflare-internal:d1-api workerd/jsg/util.c++:320: error: e = workerd/server/workerd-api.c++:991: failed: expected !value.IsEmpty(); global did not produce v8::Value stack: 1020931a7 10206819f 102606fdf 1025ed21f 102037e8f 10203e2b7 102042653 1020409e7 10203160f 10423151b 104231823 10423026b 10422ffd7 102020803 1867f7153; sentryErrorContext = jsgInternalError; wdErrId = l4fk28j2uigulejqmeag3n8a service core:user:api-dev: Uncaught Error: internal error; reference = l4fk28j2uigulejqmeag3n8a --- --- 2025-06-26T20:45:25.620Z debug Error in LocalRuntimeController: Error reloading local server MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above. at #assembleAndUpdateConfig (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:20823:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async #setOptions (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:21051:5) at async Mutex.runWith (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:2197:48) at async #onBundleComplete (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/wrangler@4.22.0/node_modules/wrangler/wrangler-dist/cli.js:174473:13) at async Mutex.runWith (/Users/yolocat/Documents/redacted_project_name/node_modules/.pnpm/miniflare@4.20250617.4/node_modules/miniflare/dist/src/index.js:2197:48) { code: 'ERR_RUNTIME_FAILURE', cause: undefined } --- --- 2025-06-26T20:45:25.620Z debug => Error contextual data: undefined --- --- 2025-06-26T20:45:36.895Z debug Sentry: Capturing exception MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above. --- --- 2025-06-26T20:45:36.900Z debug Metrics dispatcher: Posting data {"deviceId":"50d2713b-b4bd-4a5a-bc5a-afc67ebf7f62","event":"wrangler command errored","timestamp":1750970736900,"properties":{"amplitude_session_id":1750970725144,"amplitude_event_id":1,"wranglerVersion":"4.22.0","osPlatform":"Mac OS","osVersion":"Darwin Kernel Version 23.6.0: Thu Sep 12 23:35:29 PDT 2024; root:xnu-10063.141.1.701.1~1/RELEASE_ARM64_T6000","nodeVersion":20,"packageManager":"pnpm","isFirstUsage":false,"configFileType":"jsonc","isCI":false,"isPagesCI":false,"isWorkersCI":false,"isInteractive":true,"hasAssets":false,"argsUsed":["e","env"],"argsCombination":"e, env","command":"wrangler dev","args":{"env":"","e":"","xJsonConfig":true,"j":true,"latest":true,"noBundle":false,"remote":false,"r":false,"testScheduled":false,"xVectorizeBindToProd":false,"xImagesLocalMode":false},"durationMs":11774,"durationSeconds":11.774,"durationMinutes":0.19623333333333332}} ---