Minified React error #31 with clean install
Unanswered
Asian black bear posted this in #help-forum
Asian black bearOP
Hi there!,
when I create a new next.js project using
However, when putting the created project inside a new folder of my monorepo I get the following error when running build: (dev works fine)
Any idea why this could be the case?
when I create a new next.js project using
npx create-next-app@latest
everything works fine (dev & build).However, when putting the created project inside a new folder of my monorepo I get the following error when running build: (dev works fine)
Any idea why this could be the case?
1 Reply
Asian black bearOP
It seems to be this bug: https://github.com/vercel/next.js/issues/45258 but no idea how to fix it as I am using normal npm workspaces