Next.js Discord

Discord Forum

NextJS 15 upgrade RC codemod assumes I am using yarn v2 (berry)

Unanswered
Vishwajeet Vatharkar posted this in #help-forum
Open in Discord
Avatar
It gives error "yarn dlx" command not found.
this requirement of yarn 2 is not mentioned in the docs.
further, the process of migrating to yarn 2 is not as simple, and millions of nextjs developers are still on yarn 1. I think this is not needed. Just replacing yarn dlxwith yarn global in the codemod should be okay, right? unless I am missing something that needs yarn 2.

0 Replies