MiniflareCoreError [ERR_RUNTIME_FAILURE]

Hello, when I try to run wrangler pages dev '../path/to/build, I am recieving the following error:
✘ [ERROR] service core:user:the-portal: Uncaught TypeError: Invalid URL string.

at null.<anonymous> (bundledWorker-0.3483593015646773.js:207217:14) in ../build/server/index.js
at null.<anonymous> (bundledWorker-0.3483593015646773.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.3483593015646773.js:207481:5) in [[path]].ts
at null.<anonymous> (bundledWorker-0.3483593015646773.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.3483593015646773.js:207489:5) in
../.wrangler/tmp/pages-rPpCNI/functionsRoutes-0.11127362237854777.mjs
at null.<anonymous> (bundledWorker-0.3483593015646773.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.3483593015646773.js:207501:1)


✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
✘ [ERROR] service core:user:the-portal: Uncaught TypeError: Invalid URL string.

at null.<anonymous> (bundledWorker-0.3483593015646773.js:207217:14) in ../build/server/index.js
at null.<anonymous> (bundledWorker-0.3483593015646773.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.3483593015646773.js:207481:5) in [[path]].ts
at null.<anonymous> (bundledWorker-0.3483593015646773.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.3483593015646773.js:207489:5) in
../.wrangler/tmp/pages-rPpCNI/functionsRoutes-0.11127362237854777.mjs
at null.<anonymous> (bundledWorker-0.3483593015646773.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.3483593015646773.js:207501:1)


✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
Is there any way for me to get a more decoded error than this?
1 Reply
Negative
NegativeOP9mo ago
Enabling debug logging gets me a slightly better output:
✨ Compiled Worker successfully
⛅️ wrangler 3.52.0
-------------------
Configuration file belonging to ⚡️ Pages ⚡️ project detected.
Retrieving cached values for userId from node_modules/.cache/wrangler
Metrics dispatcher: Dispatching disabled - would have sent {"type":"event","name":"run dev","properties":{"local":true,"usesTypeScript":false}}.
Using vars defined in .dev.vars
Your worker has access to the following bindings:
- Vars:
- APP_URL: "(hidden)"
- APP_ENV: "(hidden)"
- SESSION_SECRET: "(hidden)"
- DATABASE_CONNECTION_STRING: "(hidden)"
[wrangler-ProxyWorker:inf] Ready on http://localhost:8788
[wrangler-ProxyWorker:inf] GET /cdn-cgi/ProxyWorker/pause 204 No Content (3ms)
[wrangler-ProxyWorker:inf] GET /cdn-cgi/ProxyWorker/pause 204 No Content (2ms)
⎔ Starting local server...
[InspectorProxyWorker] handleProxyControllerIncomingMessage {"type":"reloadStart"}
[wrangler-ProxyWorker:inf] GET /cdn-cgi/ProxyWorker/pause 204 No Content (0ms)
✘ [ERROR] workerd/server/server.c++:3442: info: Inspector is listening


✘ [ERROR] service core:user:the-portal: Uncaught TypeError: Invalid URL string.

at null.<anonymous> (bundledWorker-0.8089796838567784.js:207217:14) in ../build/server/index.js
at null.<anonymous> (bundledWorker-0.8089796838567784.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.8089796838567784.js:207481:5) in [[path]].ts
at null.<anonymous> (bundledWorker-0.8089796838567784.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.8089796838567784.js:207489:5) in
../.wrangler/tmp/pages-rPpCNI/functionsRoutes-0.11127362237854777.mjs
at null.<anonymous> (bundledWorker-0.8089796838567784.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.8089796838567784.js:207501:1)


✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
✨ Compiled Worker successfully
⛅️ wrangler 3.52.0
-------------------
Configuration file belonging to ⚡️ Pages ⚡️ project detected.
Retrieving cached values for userId from node_modules/.cache/wrangler
Metrics dispatcher: Dispatching disabled - would have sent {"type":"event","name":"run dev","properties":{"local":true,"usesTypeScript":false}}.
Using vars defined in .dev.vars
Your worker has access to the following bindings:
- Vars:
- APP_URL: "(hidden)"
- APP_ENV: "(hidden)"
- SESSION_SECRET: "(hidden)"
- DATABASE_CONNECTION_STRING: "(hidden)"
[wrangler-ProxyWorker:inf] Ready on http://localhost:8788
[wrangler-ProxyWorker:inf] GET /cdn-cgi/ProxyWorker/pause 204 No Content (3ms)
[wrangler-ProxyWorker:inf] GET /cdn-cgi/ProxyWorker/pause 204 No Content (2ms)
⎔ Starting local server...
[InspectorProxyWorker] handleProxyControllerIncomingMessage {"type":"reloadStart"}
[wrangler-ProxyWorker:inf] GET /cdn-cgi/ProxyWorker/pause 204 No Content (0ms)
✘ [ERROR] workerd/server/server.c++:3442: info: Inspector is listening


✘ [ERROR] service core:user:the-portal: Uncaught TypeError: Invalid URL string.

at null.<anonymous> (bundledWorker-0.8089796838567784.js:207217:14) in ../build/server/index.js
at null.<anonymous> (bundledWorker-0.8089796838567784.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.8089796838567784.js:207481:5) in [[path]].ts
at null.<anonymous> (bundledWorker-0.8089796838567784.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.8089796838567784.js:207489:5) in
../.wrangler/tmp/pages-rPpCNI/functionsRoutes-0.11127362237854777.mjs
at null.<anonymous> (bundledWorker-0.8089796838567784.js:32:59) in __init
at null.<anonymous> (bundledWorker-0.8089796838567784.js:207501:1)


✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
Want results from more Discord servers?
Add your server