Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Cannot find module '@payloadcms/ui' or its corresponding type declarations.

default discord avatar
showmatic3 months ago
1

man, thanks for this, I thought I was losing my mind for a second

  • default discord avatar
    lzyac7 months ago

    maybe was a problem with my editor



    update: just reran the command

    pnpm add @payloadcms/ui

    and it got fixed



    I've currently installed the latest version of this package (see screenshot).



    Now when I try to import some hooks and components from this package, vscode shows the error (title). Is this an issue on my end?

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.