Craiguito I’d isolate the database package before blaming Vercel or the whole template. From a clean folder, try the init with pinned tooling instead of all latest versions: corepack enable corepack prepare pnpm@9.15.4 --activate npx next-forge@latest init If it still creates the repo but fails at @repo/database, cd into the generated project and run: pnpm --filter @repo/database build That should give you the real TypeScript/ORM error instead of Turbo’s wrapper error. The log in the post only says the package build failed, not why. My guess is a version mismatch between the template’s database package
Ryu Hi Segal, The log you posted is still Turbo’s wrapper error, not the actual database package error. I’d isolate @repo/database first before treating the whole template as broken. From a clean terminal, try pinning the toolchain instead of using whatever “latest” resolves to: If the init still fails but leaves a partial repo behind, go into that repo and run the failing package directly: or: That should show the real TypeScript / ORM / env-var error instead of only: I’d also check the root package.json after scaffolding. In a Turborepo + pnpm workspace, the packageManager field and lockfile mat
Anush Hey @yusuf-eren. I’m from the Qdrant team (anush.shetty@qdrant.com). We’d be happy to help build/maintain this integration for the community. Looking forward to hearing from the Vercel AI SDK team.
Gregor @anush a community plugin would be great, we will be happy to add it to the list of AI SDK community providers: ai-sdk.dev/providers/community-providers. The AI SDK does support reranking and embedding, but we do not have a store abstraction built into the AI SDK, that’s currently out of scope. Maybe you can add a guide on how to use Qdrant with AI SDK using your community provider and vector store?
Anush Hey @gr2m I’m a fan of your work on Octokit.js and Semantic Release. Thank you. but we do not have a store abstraction built into the AI SDK, that’s currently out of scope. I see. Building a plugin without a common abstraction means users won’t have the ability to swap the vector store providers. Like with other components. How about we have examples/guides on how to use the AI SDK with the Qdrant client instead? UPDATE: npmjs.com/package/qdrant-ai-sdk github.com/vercel/ai/pull/25237
Pauline P. Narvas The NS_BASE_STREAM_CLOSED error typically occurs when the MCP client connection is closed prematurely. When you're using MCP tools with streaming, the client needs to stay open until the entire response completes, if it closes early, you'll hit this error. Here's what I'd recommend checking: Make sure your MCP client isn't timing out or disconnecting before the stream finishes Verify that your connection handling code keeps the client alive throughout the entire streaming response Check if there are any timeout settings that might be causing the connection to close early Let me know if you hav
phanithlim Thanks Pauline P. Narvas for the response! I’ve been stuck on this for about 3 days now and still can't resolve it. I was previously using experimental_createMCPClient, and it worked perfectly. However, since I updated my code to use the standard createMCPClient, I began facing the NS_BASE_STREAM_CLOSED issue mentioned above. The connection seems to drop the moment the LLM starts streaming the tool output back to the UI. Since I am using streamText with toUIMessageStreamResponse(), I suspect the new createMCPClient handles transport lifecycles differently, causing it to be garbage collected or
Swarnava Sengupta With 106M ISR writes vs 30M ISR reads, your write-to-read ratio is unusually high (about 3.5:1). This typically indicates one or more of these issues: Very short revalidation intervals – If your revalidate value is too low (e.g., 10-30 seconds), pages regenerate frequently even if content hasn't changed Excessive on-demand revalidation calls – If your backend triggers revalidatePath() or revalidateTag() too aggressively on every content update Bot/crawler traffic triggering regenerations – Bots hitting many unique URLs can cause cache misses that trigger new page generations Large number of un
Akash Electron thank you @swarnava