Unverified50% confidenceFactExact time
@ai-sdk/vue declares ai as a peer dependency, and when the two versions are inconsistent, npm or pnpm may install multiple copies of the ai package, leading to type mismatches, broken reactive state, or even runtime errors.
1
Sources
50%
Confidence
Long-term
Relevance
10/26/2026
First Seen
Sources
Related Entities
Related Claims
Unverified在使用 AI SDK 的 Vue 项目中,@ai-sdk/vue 往往把 ai 声明为 peer dependency,由应用层自行决定安装哪个版本。76% similarVerifiedIf the versions of @ai-sdk/vue and ai in a project are not aligned, type mismatches or runtime behavior differences may occur.73% similarUnverifiedAI may import a package that does not exist at all, causing npm install to fail; it may also use an old version of an API that has been removed.72% similarUnverifiedWhen upgrading the AI SDK, it is best to upgrade the ai core package and the framework adapter package together to avoid compatibility issues caused by version mismatches.67% similarUnverifiedWhen the version gap between the ai core package and @ai-sdk/workflow is too large, the TypeScript compiler may judge identically named types from different versions as incompatible, triggering type errors.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1100548API
curl https://kongchang.com/api/v1/knowledge/claims/1100548MCP
get_claim(id=1100548)