# Verify OpenClaw Node Configuration Write-Host "=== OpenClaw Node Configuration Check ===" -ForegroundColor Green # 1. Check Node path in gateway.cmd Write-Host "`n1. Node path in gateway.cmd:" -ForegroundColor Cyan $gatewayCmd = Get-Content C:\Users\ALC\.openclaw\gateway.cmd $nodeLine = $gatewayCmd | Select-String -Pattern "node.exe" -Context 0,0 Write-Host $nodeLine # 2. Check current running Node process Write-Host "`n2. Current OpenClaw Node process:" -ForegroundColor Cyan $nodeProcess = Get-Process -Name "node" -ErrorAction SilentlyContinue | Where-Object { $_.Path -like "*openclaw-runtime*" } if ($nodeProcess) { Write-Host "Process ID: $($nodeProcess.Id)" Write-Host "Path: $($nodeProcess.Path)" Write-Host "Start Time: $($nodeProcess.StartTime)" Write-Host "Version:" & $nodeProcess.Path --version } else { Write-Host "No OpenClaw runtime Node process found" -ForegroundColor Yellow } # 3. Check OpenClaw runtime directory Write-Host "`n3. OpenClaw runtime Node version:" -ForegroundColor Cyan if (Test-Path "F:\openclaw-runtime\node-v24.14.0-win-x64\node.exe") { & "F:\openclaw-runtime\node-v24.14.0-win-x64\node.exe" --version } else { Write-Host "OpenClaw runtime Node not found" -ForegroundColor Red } # 4. Check NVM configuration Write-Host "`n4. NVM configuration:" -ForegroundColor Cyan Write-Host "NVM_HOME: $env:NVM_HOME" Write-Host "NVM_SYMLINK: $env:NVM_SYMLINK" # 5. Conclusion Write-Host "`n=== Conclusion ===" -ForegroundColor Green Write-Host "OpenClaw Gateway.cmd uses hardcoded path: F:\openclaw-runtime\node-v24.14.0-win-x64\node.exe" -ForegroundColor Green Write-Host "Not affected by PATH environment" -ForegroundColor Green Write-Host "Not affected by NVM switching" -ForegroundColor Green Write-Host "Always uses Node v24.14.0" -ForegroundColor Green