From a80c8fc394b07792cb983cd62affc1228be94cd9 Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 26 Dec 2025 13:32:18 -0500 Subject: [PATCH] Fix npm cache corruption in base blueprint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/runloop-blueprint-template.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runloop-blueprint-template.json b/.github/workflows/runloop-blueprint-template.json index 4d39056fd..317b958af 100644 --- a/.github/workflows/runloop-blueprint-template.json +++ b/.github/workflows/runloop-blueprint-template.json @@ -15,7 +15,8 @@ "sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg", "echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main' | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null", "sudo apt update", - "sudo apt install -y gh" + "sudo apt install -y gh", + "npm cache clean --force" ], "launch_parameters": { "launch_commands": [