Strapi upgrade fails with Invalid codemods directory provided

[ERROR] [2025-02-12T22:33:17.592Z] Invalid codemods directory provided "C:\Users\nick\AppData\Local\npm-cache\_npx\6858f854713ad077\node_modules\@strapi\upgrade\dist\resources\codemods"

Seeing the same issue on Linux and Windows.

Anyone ever seen this issue?

npx @strapi/upgrade minor

[WARN] [2025-02-12T22:33:10.945Z] Please make sure you've created a backup of your codebase and files before upgrading

[INFO] [2025-02-12T22:33:13.726Z] Upgrading from v4.25.2 to v4.25.20

[INFO] [2025-02-12T22:33:13.734Z] (1/4) Checking requirement...

[WARN] [2025-02-12T22:33:16.751Z] Repository is not clean. Please commit or stash any changes before upgrading

√ Ignore optional requirement "REQUIRE_GIT_CLEAN_REPOSITORY" ? ... yes

[INFO] [2025-02-12T22:33:17.590Z] (2/4) Applying the latest code modifications...
[ERROR] [2025-02-12T22:33:17.592Z] Invalid codemods directory provided "C:\Users\nick\AppData\Local\npm-cache\_npx\6858f854713ad077\node_modules\@strapi\upgrade\dist\resources\codemods"