Replies: 1 comment
-
Likely this is the cause: https://nextjs.org/blog/next-15#async-request-apis-breaking-change |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I try to internalise the metadata of the page and receive a type error by runnung next run build. Here is the error src/app/[locale]/project/page.tsx
Type error: Type 'Params' does not satisfy the constraint 'PageProps'.
Types of property 'params' are incompatible.
Type '{ locale: string; }' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag]
Static worker exited with code: 1 and signal: null
ELIFECYCLE Command failed with exit code 1.
My code for the page is the following. What I'm doing wrong? Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions