-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Fix npm cache corruption in base blueprint #9332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add `npm cache clean --force` at the end of the base blueprint setup to prevent "idealTree already exists" errors in child blueprints. The npm global install leaves cache state that can cause issues when child blueprints run their own npm install commands. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
1 similar comment
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
|
|
✅ Review Complete Code Review SummaryTroubleshooting
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file

Summary
npm cache clean --forceat the end of the base blueprint setup commandsnpm installProblem
The base blueprint runs
npm i -g @continuedev/cli@latestwhich leaves npm cache state that can corrupt child blueprint builds with the error:Solution
Clear npm's download cache after all setup commands complete. This doesn't affect installed packages - only clears temporary cache files.
Test plan
npm i && npm run buildinstall command🤖 Generated with Claude Code
Summary by cubic
Clear npm’s cache at the end of the base blueprint setup to prevent “Tracker 'idealTree' already exists” errors when child blueprints run npm install. This only removes temporary cache files and makes child blueprint installs reliable.
Written for commit a80c8fc. Summary will update automatically on new commits.