-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Problem
The npm package claude-flow@alpha (v2.7.26) has a dependency regression that causes installation failures for users.
Current NPM Package Status
$ npm view claude-flow@alpha version
2.7.26
$ npm view claude-flow@alpha optionalDependencies.agentdb
^1.3.9 β OLD VERSIONLocal Repository Status
# package.json (v2.7.16)
"agentdb": "^1.6.1" β
FIXED VERSIONIssue Details
Symptom: Users installing via npx claude-flow@alpha mcp start or following README instructions get dependency conflicts with @xenova/transformers.
Root Cause: The fix for agentdb was committed locally in v2.7.16 but npm package v2.7.26 still has the old dependency version.
Impact:
- Users cannot cleanly install from npm
- README instructions (
claude mcp add claude-flow npx claude-flow@alpha mcp start) are broken - Forces users to install from source instead
Timeline
- β
v2.7.16 (local): Fixed agentdb to
^1.6.1 - β v2.7.26 (npm): Published without the fix, still has
^1.3.9 - β Now: PR fix: Resolve dependency conflicts for npm package compatibility (v2.7.17)Β #847 includes both fixes
Solution
PR #847 fixes two dependency issues:
- agentdb: Ensures
^1.6.1is included (from v2.7.16) - typescript-eslint: Updates to
^8.46.0for TypeScript 5.9.2 support
After merging PR #847, please publish to npm:
npm version patch # or appropriate semver bump
npm publish --tag alphaReproduction Steps
# Clean environment
rm -rf node_modules package-lock.json
# Install from npm (current broken version)
npx claude-flow@alpha --version
# This will show v2.7.26 with [email protected] causing conflicts
# vs Local repository (working version)
git clone https://github.com/ruvnet/claude-flow.git
cd claude-flow
npm install # β
Works with [email protected]Verification After Fix
After publishing the fixed version to npm, verify with:
npm view claude-flow@alpha optionalDependencies.agentdb
# Should show: ^1.6.1Related
- PR fix: Resolve dependency conflicts for npm package compatibility (v2.7.17)Β #847: Contains the fixes ready to publish
- Commit 981ca9d: Original agentdb fix in v2.7.16
Priority
High - This affects all new users following the README installation instructions.
CC: @ruvnet - Please review and merge PR #847, then publish to npm to fix the user experience.
Metadata
Metadata
Assignees
Labels
No labels