Isak
Isak
Explore posts from servers
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
I'm still struggling with this and could use some clarity. Should this work or am I missing something?
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
That works but it's not what I want, hot reload is not working and kit rebuilds everytime. Do workflows not work with getPlatformProxy then?
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
Durable objects work this way when running in the bindings worker.
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
With regular vite dev which uses getPlatformProxy right?
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
My app worker config:
{
"$schema": "https://www.unpkg.com/wrangler@latest/config-schema.json",
"compatibility_date": "2025-04-24",
"compatibility_flags": ["nodejs_compat"],
"assets": {
"directory": "./.svelte-kit/cloudflare",
"binding": "ASSETS"
},
"build": {
"command": "bun run build"
},
"env": {
"dev": {
"name": "app-dev",
"main": "./src/worker.ts",
"vars": {
"MODE": "dev"
},
"workflows": [
{
"name": "app-dev-scraper",
"binding": "SCRAPER",
"class_name": "Scraper",
"script_name": "bindings-dev"
}
]
}
},
"dev": {
"local_protocol": "https",
"ip": "0.0.0.0"
}
}
{
"$schema": "https://www.unpkg.com/wrangler@latest/config-schema.json",
"compatibility_date": "2025-04-24",
"compatibility_flags": ["nodejs_compat"],
"assets": {
"directory": "./.svelte-kit/cloudflare",
"binding": "ASSETS"
},
"build": {
"command": "bun run build"
},
"env": {
"dev": {
"name": "app-dev",
"main": "./src/worker.ts",
"vars": {
"MODE": "dev"
},
"workflows": [
{
"name": "app-dev-scraper",
"binding": "SCRAPER",
"class_name": "Scraper",
"script_name": "bindings-dev"
}
]
}
},
"dev": {
"local_protocol": "https",
"ip": "0.0.0.0"
}
}
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
My "bindings" worker config:
{
"$schema": "https://www.unpkg.com/wrangler@latest/config-schema.json",
"compatibility_date": "2025-04-24",
"compatibility_flags": ["nodejs_compat"],
"assets": {
"directory": "./.svelte-kit/cloudflare",
"binding": "ASSETS"
},
"env": {
"dev": {
"name": "bindings-dev",
"main": "./src/worker.ts",
"vars": {
"MODE": "dev"
},
"workflows": [
{
"name": "app-dev-scraper",
"binding": "SCRAPER",
"class_name": "Scraper"
}
]
}
},
"dev": {
"ip": "0.0.0.0",
"port": 8788
}
}
{
"$schema": "https://www.unpkg.com/wrangler@latest/config-schema.json",
"compatibility_date": "2025-04-24",
"compatibility_flags": ["nodejs_compat"],
"assets": {
"directory": "./.svelte-kit/cloudflare",
"binding": "ASSETS"
},
"env": {
"dev": {
"name": "bindings-dev",
"main": "./src/worker.ts",
"vars": {
"MODE": "dev"
},
"workflows": [
{
"name": "app-dev-scraper",
"binding": "SCRAPER",
"class_name": "Scraper"
}
]
}
},
"dev": {
"ip": "0.0.0.0",
"port": 8788
}
}
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
This is the error:
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
at #assembleAndUpdateConfig (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:15947:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Mutex.runWith (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:1664:48)
at async #waitForReady (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:16020:5)
at async _Miniflare._getProxyClient (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:16146:5)
at async _Miniflare.getBindings (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:16165:25)
at async getPlatformProxy (/Users/name/Code/app/node_modules/wrangler/wrangler-dist/cli.js:155571:20)
at async get_emulated (file:///Users/name/Code/app/node_modules/@sveltejs/adapter-cloudflare/index.js:134:19)
at async Object.platform (file:///Users/name/Code/app/node_modules/@sveltejs/adapter-cloudflare/index.js:159:19)
at async respond (/Users/name/Code/app/node_modules/@sveltejs/kit/src/runtime/server/respond.js:178:20)
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
at #assembleAndUpdateConfig (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:15947:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Mutex.runWith (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:1664:48)
at async #waitForReady (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:16020:5)
at async _Miniflare._getProxyClient (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:16146:5)
at async _Miniflare.getBindings (/Users/name/Code/app/node_modules/miniflare/dist/src/index.js:16165:25)
at async getPlatformProxy (/Users/name/Code/app/node_modules/wrangler/wrangler-dist/cli.js:155571:20)
at async get_emulated (file:///Users/name/Code/app/node_modules/@sveltejs/adapter-cloudflare/index.js:134:19)
at async Object.platform (file:///Users/name/Code/app/node_modules/@sveltejs/adapter-cloudflare/index.js:159:19)
at async respond (/Users/name/Code/app/node_modules/@sveltejs/kit/src/runtime/server/respond.js:178:20)
12 replies
CDCloudflare Developers
Created by Dom on 2/18/2025 in #workflows
Hey!
Hey @Seekerdasbatatas might face this issue any update? Thank you 🙂
4 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 4/11/2025 in #workflows
local dev not working
Hello also have this issue on wrangler version 4.13.0 in a SvelteKit project.
12 replies