Monorepo components issue
Unanswered
Northeast Congo Lion posted this in #help-forum
Northeast Congo LionOP
Hello i have a yarn monorepo with an app and a UI package.
When i mark a component file in the ui package with "use client", i got a
Is someone encountered the issue or know how to fix it ?
When i mark a component file in the ui package with "use client", i got a
Error: Unsupported Server Component type: undefined even if my ui package is set in the next.config.js file as transpilePackagesIs someone encountered the issue or know how to fix it ?
1 Reply
Northeast Congo LionOP
NVM direct file import import work instead of import from the package root.