workers-help
pages-help
general-help
durable-objects
workers-discussions
pages-discussions
wrangler
coding-help
kv
🦀rust-on-workers
miniflare
stream
general-discussions
functions
zaraz
⚡instant-logs
email-routing
r2
pubsub-beta
analytics-engine
d1-database
queues
workers-for-platforms
workerd
web3
🤖turnstile
radar
web-research
logs-engine
cloudflare-go
terraform-provider-cloudflare
workers-ai
browser-rendering-api
analytics
next-on-pages
cloudflare-ai
build-caching-beta
hyperdrive
vectorize
ai-gateway
python-workers-beta
vitest-integration-beta
workers-observability
workflows-beta
Is anyone having failures with `npx
npx wrangler login
today? It was working fine yesterday, but dtoday I'm getting a non-json response back from the API SyntaxError: Unexpected token < in JSON at position 0
nvm I figured it out after running
wrangler pages download config <PROJECT>
and looking at how the generated config is setup. The service bindings should be in the production environment. The docs aren't clear about this and there aren't really any error messages during deployment
```toml
[env.production]
compatibility_date = "2024-04-06"...Not sure if this is a #wrangler or #
wrangler dev
(ignored/safe in production):
Error Reproduction
```ts
export default {...Workerd questions
I'm trying to get my local d1 database
wrangler d1 execute --local --file=.sql
approach. I thought I could just move the .wrangler/state/v3/d1
dir over to another dir and spin things up but that did not work. Is there some other approach I could use?
My problem is that I use a separate worker to load portions of the database and I was hoping to avoid moving that worker and its config over to another dir temporarily to get the database fully loaded.
Thanks!...Is it possible to configure wrangler to
localhost
when working locally?
[wrangler:inf] Ready on http://localhost:8788
, I'd like it to open a local alias instead of localhost but still maintain the protocol and port, e.g., http://<local-alias>:8788
... it's mainly to get around CORS stuff 🙄...That sounds like you have a library
credentials
). Whilst browsers support that, Workers don't.hello, kind of new in the game but it
workerd serve
on my computer stays in a running state all the time. Is there a trick I don't know about. right now I need to kill it manuallyCould a `metafile` option be added to
metafile
option be added to wrangler deploy to expose esbuild's metafile? I see that wrangler uses it internally, but it isn't exposed anywhere so you can't use standard tools to do bundle size analysisWranger uses esbuild under the hood (
Logpush · Cloudflare Workers docs
Hello, I have a question about `keep_
keep_vars
option, is it supposed to only prevent variables that exist in the dashboard but not in Wrangler from being deleted, or also prevent same variables from being overridden?
My issue is that I'm trying to find a way to prevent vars in dashboard from being overridden by wrangler when deploying, is it possible?...i am using `wrangler pages dev ./public`
wrangler pages dev ./public
to run a CF page locally and none of the shortcut works │ [b] open a browser, [d] open Devtools, [c] clear console, [x] to exit
. idea? wrangler 3.15.0.🐛 BUG: Wrangler throwing an error fails...
Wrangler DX feedback
There are no special instructions for
There are no special instructions for migrating from Wrangler v2 to v3. You should be able to update Wrangler by following the instructions in Install/Update Wrangler. You should experience no disruption to your workflow.https://developers.cloudflare.com/workers/wrangler/migration/update-v2-to-v3/...
Ah ok so it looks like the order you
unstable_dev
is important here. Moving const user = await unstable_dev(...)
before const core = await unstable_dev(...)
seems to work. Would you mind opening a GitHub issue for this? We're just starting a rewrite of wrangler dev
's internals, and this is something we should consider. 👍