wrangler deploy --env prod I looked to env variables but I dont think wrangler relays this to custom build scriptwrangler dev locally to test fetch origin address ?wrangler pages dev doesn't start the server unless you restart your computer (macOS arm, bun)?

wrangler pages dev and vite build for a sveltekit app with the local D1 database. I can access my landing page, but most of generated scripts by vite are not served by wrangler. Example: [wrangler:inf] GET /_app/immutable/entry/start.C9uj9_pe.js 404 Not Found (13ms)--live-reload flag. Is doesn't reload nor update the page with whatever modifications I've done.wrangler.toml, svelte.config.js and scripts ran during launchRoutes, but not under Custom Domains. This is confusing...wix-app-test2.run directlywix-app-test2.run/*, with automatic DNS record creation and Certificate Issuance*.wix-app-test2.run(pointing to AAAA 100::
* the correct thing?

cloudflare/wrangler-action@v3. 
wrangler.toml)?wrangler versions is not working in 3.68, even though it's supposed to be there since a while.mysite-stagingwrangler.toml, as <nameFromWrangler>-<nameSpecified> , or worker- if outside a dir containing wrangler.toml.wrangler.json coming!npm create cloudflare@2.21.1 auto-upgrading to the latest minor version? I understand that, in a lot of cases, it's completely safe to use the latest minor as it's non-breaking.2.21.1 where the initial list of options is a long-ish list - now it's been tidied up to be into categories with the lists behind. This means anywhere this command is used needs rewriting to account for the new options - not a large amount of work - but if this happens again it then means the printed material would come across wrong, which would be fixed by pinning the version, but it refuses to run without upgrading to the latest minor.npm create cloudflare@2.21.1 -- --no-auto-update (didn't realise this existed!)wrangler deploy isn't working as it did before (on the same workspace):#:schema node_modules/wrangler/config-schema.json
name = "phosphor-server"
compatibility_date = "2024-07-12"
compatibility_flags = ["nodejs_compat"]
no_bundle = true⎔ Starting local server...
[wrangler:inf] Ready on http://localhost:5010
✘ [ERROR] service core:user:phosphor-server: Uncaught Error: No such module "wrangler:modules-watch".
imported from "_worker.js"
✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.routes = [
{ pattern = "*.wix-app-test2.run/*", zone_name = "wix-app-test2.run" }
]name: Deploy Worker
on:
push:
branches:
- wrangler
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: "./cloudflare-services/platforms-dispatcher"Checking for existing Wrangler installation
/usr/local/bin/npx --no-install wrangler --version
npm error npx canceled due to missing packages and no YES option: ["wrangler@3.67.1"]
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-07-31T13_20_24_246Z-debug-0.log
⚠️ Wrangler not found or version is incompatible. Installing...
📥 Installing Wrangler
/usr/local/bin/npm i wrangler@3.13.2
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@wix%2fambassador-bootstrap-plugin - Not found
npm error 404
npm error 404 '@wix/ambassador-bootstrap-plugin@^1.0.617' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-07-31T13_20_31_572Z-debug-0.logbunx wrangler d1 create mysite-staging
bunx wrangler r2 bucket create mysite-staging
bunx wrangler kv:namespace create staging