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

address review: anchor cleanup paths to $PSScriptRoot, document .npmrc

[._.]/ Adam Eivyd0e95e265a30
diff --git a/update.ps1 b/update.ps1
index 36418b2553..94420624d4 100644
--- a/update.ps1
+++ b/update.ps1
@@ -17,8 +17,10 @@ Write-Host "Updating dependencies..." -ForegroundColor Yellow
Write-Host " Installing root dependencies..."
# Clean stale workspace dirs that block npm symlink creation (Windows EISDIR fix)
+# Note: install-links=true is set in .npmrc for exFAT compat; the CLI flag was redundant
+$repoNodeModules = Join-Path -Path $PSScriptRoot -ChildPath "node_modules"
@("portos-server", "portos-client") | ForEach-Object {
- $wsPath = "node_modules\$_"
+ $wsPath = Join-Path -Path $repoNodeModules -ChildPath $_
if ((Test-Path $wsPath) -and -not ((Get-Item $wsPath).Attributes -band [IO.FileAttributes]::ReparsePoint)) {
Remove-Item $wsPath -Recurse -Force
Write-Host " Cleaned stale $wsPath"