TanStack AI version#
ai v1.8.0, ai-mcp v1.3.1
Framework/Library version#
Vue 3.5.46, Nuxt v4.6.4
Describe the bug and the steps to reproduce it#
im trying to run the cli to generate de types from a remote mcp, but i getting this error: Error: Dynamic require of "fs" is not supported
im running with "pnpm dlx @tanstack/ai-mcp generate" with pnpm 12.6.0
*running with npx get this: Error: Cannot find module.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)#
https://stackblitz.com/edit/vitejs-vite-3fdxs6o4?file=package.json,mcp.config.ts&terminal=dev
Screenshots or Videos (Optional)#
No response
Do you intend to try to help solve this bug with your own PR?#
No, because I do not know how
Terms & Code of Conduct#