Next.js Crash Course with Yarn 2 Workaround

Hey Prismic Community! We’ve noticed an issue when trying to run the Next.js Crash Course with Yarn 2. If you encounter this issue, here’s a workaround you can use.

Remove your yarn.lock file and run the npx command again.

After installation, create a .yarnrc.yml file, add the following code, and then you can run yarn install.

nodeLinker: node-modules

Please let us know if this is something you encounter too.

1 Like