Skip to content

Type error: Type 'Props' does not satisfy the constraint 'PageProps' on build #8

Description

@Leeibrah

When using Next.js 15.2.4 I cannot be able to build for I get the below error:

app/password-reset/[uid]/[token]/page.tsx
Type error: Type 'Props' does not satisfy the constraint 'PageProps'.
  Types of property 'params' are incompatible.
    Type '{ uid: string; token: string; }' is missing the following properties from type 'Promise<any>': then, catch, finally, [Symbol.toStringTag]

Next.js build worker exited with code: 1 and signal: null

Let me know if anyone has encountered the same error and how did they solve it.

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions