Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: remove --install-links from update.ps1 to prevent Windows EISDIR error

[._.]/ Adam Eivybc23ad775673
diff --git a/update.ps1 b/update.ps1
index d1bae54c2d..36418b2553 100644
--- a/update.ps1
+++ b/update.ps1
@@ -16,7 +16,15 @@ Write-Host ""
Write-Host "Updating dependencies..." -ForegroundColor Yellow
Write-Host " Installing root dependencies..."
-npm install --install-links
+# Clean stale workspace dirs that block npm symlink creation (Windows EISDIR fix)
+@("portos-server", "portos-client") | ForEach-Object {
+ $wsPath = "node_modules\$_"
+ if ((Test-Path $wsPath) -and -not ((Get-Item $wsPath).Attributes -band [IO.FileAttributes]::ReparsePoint)) {
+ Remove-Item $wsPath -Recurse -Force
+ Write-Host " Cleaned stale $wsPath"
+ }
+}
+npm install
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-Host " Installing client dependencies..."