Getting Strapi errors when I'm trying to start a new Next app?

Sorry, I should have mentioned that I tried that too. My original command was:
yarn create next-app beer-shop

It threw the same error though.

I got around it by simply using npx create-next-app beer-shop instead, then yarn install once inside the project to start using yarn.

I’m just curious as to what I might have done to make yarn throw Strapi errors when I’m not even using Strapi. It’s likely my fault, something to do with moving my web project folders into a new directory or something but can’t put my finger on it.