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
lzyaclast year
2

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?



update: just reran the command

pnpm add @payloadcms/ui

and it got fixed



maybe was a problem with my editor

  • default discord avatar
    showmaticlast year

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

  • default discord avatar
    kmaximoff9 months ago

    But once you add it, you get issues that two packages conflict.

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.