Skip to content

Nuxt4 upgrade recipe found error #1710

@xenogew

Description

@xenogew

Platform Issues

My project is Nuxt 3 and I want to upgrade to Nuxt 4 and the instruction is recommended with codemode recipe to upgrade it.

Platform: Windows 11
Node: 22.9.0
pnpm: 10.14.0

here's is the command

pnpm dlx codemod@latest nuxt/4/migration-recipe

And here is error message

Error while running the codemod:
Cannot find package 'C:\Users\[username]\scoop\persist\nodejs\cache\_npx\6a5c158be147c5d1\node_modules\@codemod.com\workflow\dist\index.mjs' imported from C:\Users\[username]\scoop\persist\nodejs\cache\_npx\6a5c158be147c5d1\node_modules\codemod\dist\index.cjs

I totally no idea why it happened, because the days before I think I could run it without error and result is as expected.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcli

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions