Describe the bug
[fetchFs] Tried to read file that does not exist
Steps to reproduce
I followed local setup in https://github.com/TanStack/tanstack.com/blob/main/README.md
Directory structure
D:\external\tanstack
├── query
├── router
├── table
├── tanstack.com
└── virtual
- pnpm install
- pnpm run dev
- set ENV:TANSTACK_DOCS_USE_REMOTE = false
- navigate url
http://localhost:3001/query/latest using chrome
Additional context
OS: Windows 11 running on VM
What's worked for me
import { fileURLToPath } from 'node:url'
const dirname = path.dirname(fileURLToPath(import.meta.url))
const baseDir = path.resolve(dirname, `../../../${repo}`)
const localFilePath = path.resolve(baseDir, filepath)
Describe the bug
[fetchFs] Tried to read file that does not existSteps to reproduce
I followed local setup in https://github.com/TanStack/tanstack.com/blob/main/README.md
Directory structure
http://localhost:3001/query/latestusing chromeAdditional context
OS: Windows 11 running on VM
What's worked for me