Describe the bug
Hey Guys, today i decided to try yarn v2 on my new project with nextjs. However I can't seem to get it work, it was fine to install with yarn 1 and npm (node v12.18.1).
Its pretty easy to reproduce and i'm not really sure what is happening
To Reproduce
Follow this template to setup nextjs with tailwind
Follow this to upgrade yarn to v2 only for the project
yarn create next-app --example with-tailwindcss with-tailwindcss-app
cd with-tailwindcss
yarn policies set-version berry # below v1.22
yarn set version berry
yarn
Then you got the error
Screenshots


Environment if relevant (please complete the following information):
Can anyone please help?
I'm pretty excited in using yarn v2
Thanks everyone
It has been fixed in the canary version of next
Most helpful comment
It has been fixed in the canary version of next