Skip to content

[cf] Clarify when cf migrate needs Wrangler installed - #36093

Open
TheVoidJulius wants to merge 1 commit into
cloudflare:productionfrom
TheVoidJulius:cf-migrate-wrangler-install
Open

TheVoidJulius wants to merge 1 commit into
cloudflare:productionfrom
TheVoidJulius:cf-migrate-wrangler-install

Conversation

@TheVoidJulius

Copy link
Copy Markdown

Summary

Fixes #35436

Troubleshooting says cf migrate needs a local Wrangler installation, even for a dry run. It does not, and the quoted error is no longer in the CLI.

Tested with cf 1.0.0-rc.7, Wrangler 4.171.0, and @cloudflare/vite-plugin 2.0.0-rc.9 on Windows 11 and Node.js 26.13.0. Nothing was deployed. With the Wrangler bundler and no node_modules:

  • Wrangler 4.171.0 declared: the dry run and a run with --no-install both exit 0.
  • Wrangler 4.50.0 declared, or none: the dry run exits 0 and lists package.json and the lockfile. A run with --no-install exits 1 with the message now shown in Troubleshooting.

I did not test a run that installs Wrangler, or a project with an old version already installed.

Documentation checklist

@TheVoidJulius
TheVoidJulius requested a review from a team as a code owner December 4, 2026 15:21
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

✅ Reviewed 91bf749 · 0 findings · incremental

Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

@cloudflare-docs-bot

Copy link
Copy Markdown
Contributor

Review coverage

🟡 1 ownership area needs approval.

Needs approval Eligible approvers Suggested
cf @cloudflare/product-owners @cloudflare/product-owners
CODEOWNERS only · not notified
CODEOWNERS mappings for displayed areas (1)
Pattern Owners
* @cloudflare/product-owners

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(cf-docs): qualify the Wrangler installation requirement for migration previews

1 participant