Replies: 2 comments
|
Guess it’s a Vite issue, not even sure what’s relevant in this case |
0 replies
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
So I was creating a documentation for internal components for my organization. The project was in pnpm workspace so I copied the tanstack-start example ran it in dev to make sure it's working then bam.

Something was definitely broken. So I get the project out of the workspace and ran it. Weirdly it worked.
I tinkered with it for 2 hours, creating a new workspace and moving the packages and files one by one to diagnose which file or package is breaking this thing and here comes the
.gitignorefile. I couldn't believe it. I don't know if this is a fumadocs issue or vite issue.The problem was when I have
**/node_modules/**in my root workspace .gitignore, as far as I know, every radix logic breaks. Replacing that withnode_modulesfixed it.Put this as a discussion if anyone is searching or facing the same issue.
All reactions