Would make it much easier to start introducing things like hooks, or let you mess with the esbuild c
Would make it much easier to start introducing things like hooks, or let you mess with the esbuild config, to do things like add plugins
https://localhost:5001/api/files/vault/bf09a8c8-54b3-4fb9-9d32-3a5e9d837ecb.jpeg in postman with auth header it works correctly. But when I do 8787 one in browser it doesn't And I see correct headers just before the call to inner fetch. Do you see if I am doing something wrong? Thank you..vscode/settings.json wrangler login does not work with VPN tunnel (e.g. tailscale) - it's very slow and fragile (errors out) even in normal situation. How do I open a bug or something to please please fix this frustrating login flow? There used be a way to at least paste the login code (the docs have some curl thing that's even more fragile because wrangler errors out before I could even curl the localhost url)npm run dev 
workflow.yml and properly setup the secrets as attached but I get the error that the env variables are missing.npm run build that runs build commands (like astro build or wrangler build for my workers with Hono) then wrangler pages deploy ./dist or wrangler deploy for my workers...etc.

wrangler kv bulk put? I tried following the docs, passing the following JSON:[
{
"key": "key1",
"value": "value1",
"metadata": "{ \"metadata1\": 1 }"
},
{
"key": "key2",
"value": "value2",
"metadata": "{ \"metadata2\": 2 }"
}
]⛅️ wrangler 3.99.0
-------------------
✘ [ERROR] Unexpected JSON input from "kv.json".
Each item in the array should be an object that matches:
interface KeyValue {
key: string;
value: string;
expiration?: number;
expiration_ttl?: number;
metadata?: object;
base64?: boolean;
}
The item at index 0 is {"key":"key1","value":"value1","metadata":"{ \"metadata1\": 1 }"}
The item at index 1 is {"key":"key2","value":"value2","metadata":"{ \"metadata2\": 2 }"}object do we need to pass for the metadata? In contrast, wrangler kv key put --metadata does accept a JSON-serialized string and works as expected.bulk put works as expected if I just pass the key and value, or with the example provided in the docs (passing an expiration_ttl).AiTextGenerationInput, etc. so I'm looking forward to see the direction here. My 2c: it either needs to be a new major workers-types, or walked back so to be an extension of types instead of introducing breaking changes.0.x.x version so RIP semver, which for a GA product is not great.any is forbiddenany[wrangler:err] Error: internal error
at async jsonError (file:///D:/Frontend/node_modules/wrangler/templates/middleware/middleware-miniflare3-json-error.ts:22:10)
at async drainBody (file:///D:/Frontend/node_modules/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts:5:10)export default {
async fetch(request, env, ctx) {
console.log('proxy intercept', request, env);
const url = new URL(request.url);
const host = env.VITE_BACKEND_HOST;
if (url.pathname.startsWith("/api")) {
// handle api
const pathname = url.pathname;
const search = url.search;
const pathWithParams = pathname + search;
const newUrl = `${host}${pathWithParams}`;
const cookies = parseAuthCookies(request.headers.get("cookie"), tabId);
const newRequest = new Request(request);
const token = cookies["Api.Token"];
if (token != null) {
newRequest.headers.set("Authorization", "Bearer " + token);
}
const response = await fetch(newUrl, newRequest); // exception
console.log("proxy response", response);
return response;
}
return fetch(url, request);
}
} "json.schemas": [
{
"fileMatch": ["wrangler.json"],
"url": "./node_modules/wrangler/config-schema.json"
}
], ~/IdeaProjects/workers-ms-render master !3 ?2 18:36:50
❯ npx wrangler dev
⛅️ wrangler 3.99.0
-------------------
Running custom build: cargo install -q worker-build && worker-build --release
╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [b] open a browser, [d] open devtools, [l] turn off local mode, [c] clear console, [x] to exit │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
[INFO]: 🎯 Checking for the Wasm target...
Error: wasm32-unknown-unknown target not found in sysroot: "/opt/homebrew/Cellar/rust/1.83.0"
Used rustc from the following path: "/opt/homebrew/bin/rustc"
✘ [ERROR] Running custom build `cargo install -q worker-build && worker-build --release` failed. There are likely more logs from your build command above.
🪵 Logs were written to "/Users/alex/Library/Preferences/.wrangler/logs/wrangler-2024-12-23_17-37-02_261.log"name: ⚡ Deploy to Cloudflare
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: ☁️ Deploy
steps:
- name: 📥 Checkout
uses: actions/checkout@v3
- name: ⚙️ Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: ⬇️ Install dependencies
run: npm install
- name: 🔨 Build apps & packages
run: npm run build
- name: 🚀 Deploy apps
run: npm run deploy
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }}[
{
"key": "key1",
"value": "value1",
"metadata": "{ \"metadata1\": 1 }"
},
{
"key": "key2",
"value": "value2",
"metadata": "{ \"metadata2\": 2 }"
}
]⛅️ wrangler 3.99.0
-------------------
✘ [ERROR] Unexpected JSON input from "kv.json".
Each item in the array should be an object that matches:
interface KeyValue {
key: string;
value: string;
expiration?: number;
expiration_ttl?: number;
metadata?: object;
base64?: boolean;
}
The item at index 0 is {"key":"key1","value":"value1","metadata":"{ \"metadata1\": 1 }"}
The item at index 1 is {"key":"key2","value":"value2","metadata":"{ \"metadata2\": 2 }"}