Skip to content

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

@Leeibrah

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.

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