-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Keystone inside turborepo fails #9069
Comments
I also hit this error when I tried to move from Next 13 to Next 14 inside turborepo. |
Identical situation with upgrade from Next 13 to Next 14 in NX monorepo... |
There is potenitally multiple versions of NextJs in your dependency tree. You could try using |
Good call @borisno2! I thought I had already ruled this out but tried again and was able to build without error. |
Previously used turborepo - didn't works even with Works for me. Same situation with Prisma: Just install prisma: 15.3.0 |
`// create turborepo
npx create-turbo@latest my-monorepo
cd my-monorepo
// add keystone to turborepo
cd apps
npm init keystone-app my-keystone-app
cd my-keystone-app
npm run build`
As I expect it should build production-ready static pages. But I'm receiving error
NEXT_EXPORT_ERROR
If I move keystone outside of turborepo and install dependencies once again - it works fine. But inside - it fails.
Environment:
"@keystone-6/auth": "^7.0.2",
"@keystone-6/core": "^5.7.2",
"@keystone-6/fields-document": "^8.0.2",
Node version 18.18.0
windows 11, macos, and vercel build - same errors.
The text was updated successfully, but these errors were encountered: