-
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
Next ^13.4 is not working with Keystone #8553
Comments
I have the same issue with latest version, checked with default project setup from examples |
use resolution to pin nextjs version to |
@gautamsi
|
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
I've also bumped into this issue. Pinning to 13.3.4 works for me too |
Pinning to version 13.3.4 works. @gautamsi Any idea what might have caused this issue? |
👍 would love to start using 13.4 |
I was able to resolve the issue, it was caused by the appDir being set to true in next v13.4 and above. Check the following pull request for more details: #8568 |
Hello, this fix is not working for me:
EDIT: I no longer have this issue but leaving this for context. I've never worked with |
@dcousens could this fix be updated in the yarn create keystone-app package? Currently I still can't install keystone. |
@rpmcoding could you try out our newest If that resolves your problem, we should have that officially released on Monday. |
Keystone requires a higher version of Next.js, specifically version 13.3 or above. If you encounter an error, please make sure to use at least this version. To fix the issue, you can add the following code to your package.json file:
By adding this code, you're specifying a resolution to use Next.js version 13.3.0 or a compatible version. This can help resolve the problem you're facing. Make sure to save the package.json file after making this change. |
New installation is not working, there is a problem with Next.js. It is necessary to manually downgrade to version 13.3.4, as the default installation installs the latest version ^13.4 which does not work
By the way, I've noticed that if you install a version of Next.js lower than 13.3.4, the build process gets stuck, which can cause issues. To fix this, you can try changing the package dependency to a specific version of Next.js, such as "next:": "13.3.4", instead of using the default "^13.3.0". This should help mitigate the problem and allow the build process to complete successfully.
The text was updated successfully, but these errors were encountered: