NextJS build fail #76718
NextJS build fail
#76718
Replies: 1 comment 1 reply
-
self resolved |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I keep getting this error message when attempting to build on NextJS.
Linting and checking validity of types .Failed to compile.
Linting and checking validity of types ...next/types/app/[page]/page.ts:34:29
Type error: Type '{ params: { page: string; }; }' does not satisfy the constraint 'PageProps'.
Types of property 'params' are incompatible.
Type '{ page: string; }' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag]
No response
Beta Was this translation helpful? Give feedback.
All reactions