commit 54223690f744686233212369a203cb4fdfe6c4d8
parent b677e8fb8ce97d8bc7d3bb59109d1aaf36243b99
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 26 Oct 2026 15:25:26 -0400
PUBLISH.md: create a Pages project with --force (wrangler 4.14x delegates pages project create to Workers otherwise, deploying the current directory)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/PUBLISH.md b/PUBLISH.md
@@ -395,8 +395,11 @@ fits inside Cloudflare's **free tier**.
missing project only on an interactive terminal, and the deploy's stdin is a pipe,
so a missing project fails at once with wrangler's own "does not exist" sentence.
Create it first: `pnpm --filter yt-dlp-transcript-common exec wrangler pages project
- create <name> --production-branch main`. A site's project is `site.json`'s
- `cloudflareProject`.
+ create <name> --production-branch main --force`, run from an empty directory. A site's project is `site.json`'s
+ `cloudflareProject`. **`--force` is required with wrangler ≥ 4.14x**: without it `pages project create` delegates
+ to Cloudflare Workers — it auto-configures the current directory as a Workers app (from the checkout's root it
+ refuses as a workspace; elsewhere it DEPLOYS whatever static folder it finds) and no Pages project is made, so
+ `wrangler pages deploy` and the live check have nothing to target. Found 2026-10-26 creating `ethanalyzer`.
- **wrangler is pinned**: an exact devDependency of `common` (4.147.0), run as
`common/node_modules/.bin/wrangler` — nothing is fetched at deploy time.
`WRANGLER_BIN` overrides it (the e2e suite's fake). It needs Node 22 or later.