You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 [email protected] build. Building via next build works fine, so this is breaking somewhere in open-next.
Any ideas?
The text was updated successfully, but these errors were encountered:
so quick update... buildCommand: 'npm run build && npx [email protected] build' seems to work as a temporary fix
Where the build script is just next build
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 [email protected] 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: