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 override to let npm use junctions on Windows

[._.]/ Adam Eivy9787fe614a6a
diff --git a/.npmrc b/.npmrc
deleted file mode 100644
index 0b153213a4..0000000000
--- a/.npmrc
+++ /dev/null
@@ -1,2 +0,0 @@
-# Copy workspace packages instead of symlinking (required for exFAT filesystems)
-install-links=true
diff --git a/setup.ps1 b/setup.ps1
index 92d5b48aa8..9a407c65bf 100644
--- a/setup.ps1
+++ b/setup.ps1
@@ -24,12 +24,11 @@ if ($majorVersion -lt 18) {
Write-Host "Found Node.js v$nodeVersion" -ForegroundColor Green
# Install dependencies
-# Note: Using --install-links to copy instead of symlink (required for exFAT filesystems)
Write-Host ""
Write-Host "Installing dependencies..." -ForegroundColor Yellow
Write-Host " Installing root dependencies..."
-npm install --install-links
+npm install
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-Host " Installing client dependencies..."
diff --git a/update.ps1 b/update.ps1
index 636821ca44..e4d6b8d502 100644
--- a/update.ps1
+++ b/update.ps1
@@ -16,9 +16,7 @@ Write-Host ""
Write-Host "Updating dependencies..." -ForegroundColor Yellow
Write-Host " Installing root dependencies..."
-# Clean stale workspace copies that block npm install (Windows EISDIR fix).
-# .npmrc sets install-links=true (exFAT compat) so npm copies workspace packages
-# as real dirs; on re-runs npm fails to overwrite them. Remove stale copies first.
+# Clean stale workspace copies from prior install-links config (one-time transition)
$repoNodeModules = Join-Path -Path $PSScriptRoot -ChildPath "node_modules"
@("portos-server", "portos-client") | ForEach-Object {
$wsPath = Join-Path -Path $repoNodeModules -ChildPath $_
@@ -27,7 +25,7 @@ $repoNodeModules = Join-Path -Path $PSScriptRoot -ChildPath "node_modules"
Write-Host " Cleaned stale $wsPath"
}
}
-npm install --install-links
+npm install
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-Host " Installing client dependencies..."