WILDE
WILDE
CDCloudflare Developers
Created by WILDE on 4/24/2025 in #workers-help
Worker with --remote not working (Error 1104)
Using npx wrangler dev --remote or yarn wrangler dev --remove works, but I get an error for hyperdrive
Object {
level: error,
message: Request failed,
userId: undefined,
errorMessage: Cannot read properties of undefined (reading 'connectionString'),
stack: TypeError: Cannot read properties of undefined (re…i/api/.wrangler/tmp/dev-clzMcQ/index.js:48561:17)
...
}
Object {
level: error,
message: Request failed,
userId: undefined,
errorMessage: Cannot read properties of undefined (reading 'connectionString'),
stack: TypeError: Cannot read properties of undefined (re…i/api/.wrangler/tmp/dev-clzMcQ/index.js:48561:17)
...
}
I've tried this
"hyperdrive": [
{
"id": "my_id",
"binding": "COCKROACHDB_HYPERDRIVE",
"localConnectionString": "`${WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING_COCKROACHDB_HYPERDRIVE}`"
}
],
"hyperdrive": [
{
"id": "my_id",
"binding": "COCKROACHDB_HYPERDRIVE",
"localConnectionString": "`${WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING_COCKROACHDB_HYPERDRIVE}`"
}
],
WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING_COCKROACHDB_HYPERDRIVE is on my .dev.vars But even pasting the URL in my wrangler.jsonc doesn't work
5 replies
CDCloudflare Developers
Created by WILDE on 4/24/2025 in #workers-help
Worker with --remote not working (Error 1104)
The -e dev is to use the variables of that specific environment. I have other projects with the same config working fine, however, this one is throwing the 1104 error code :/ Will try with npx instead
5 replies
CDCloudflare Developers
Created by ArticBlade on 4/11/2025 in #workers-help
Could not create remote preview session on your account
Hi! I've just came across this post because I am having a similar issue. Yesterday I could run my worker with
yarn wrangler -e dev dev --remote
yarn wrangler -e dev dev --remote
But today I am getting a 1104 error. Nothing changed in the code...
50 replies