-
Notifications
You must be signed in to change notification settings - Fork 138
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
open next fails to build when used with the pages and app router #380
Comments
Are you mixing |
Yes, actually. We use cdk-nextjs-standalone in our code and invoke open next in the buildCommand |
so quick update... Previously |
The issue is still there in open-next@3.1.3 |
opennext changed its package name to this @opennextjs/aws. have you tried using this one at newest version? ( if you are still getting errors on the new package @pankaj7822 we need a reproduction, and preferably the stack trace, and also what version of next you are using |
Codepipeline logs:
I'm in the process of migrating our pages router to the new app router, all I changed was the bare minimum. New useRouter hooks in a global component, adding a layout.tsx, metadata, etc.
After doing that I've seen our builds fail on staging when running
npx open-next@2.3.7 build
. Building vianext build
works fine, so this is breaking somewhere in open-next.Any ideas?
The text was updated successfully, but these errors were encountered: