Cannot access DynamicSidebar.then on the server. You cannot dot into a client module from a server component. You can only pass the imported name through. #809
Labels
bug
Something isn't working
Reproducing code
1. Auto-create project
Run the command code shown on documentation
2. Run in dev mode (without touching any NPM packages at all)
3. Accessing to
/docs
urlCurrent vs. Expected behavior
Expected behavior is just to render the example fumadocs UI example correctly, but then when I run in dev mode, I got the following error below:
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10 Binaries: Node: 20.11.0 npm: 10.4.0 Yarn: 1.22.19 pnpm: 8.15.1 Relevant Packages: next: 14.2.8 // Latest available version is detected (14.2.8). eslint-config-next: N/A react: 18.3.1 react-dom: 18.3.1 typescript: 5.5.4 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
UI
Additional context
No response
The text was updated successfully, but these errors were encountered: