Command: powershell -NoProfile -Command "$ErrorActionPreference='SilentlyContinue';\n$paths=@(\n'C:\\Program Files\\nodejs\\node.exe',\n'C:\\Program Files (x86)\\nodejs\\node.exe',\n\"$env:LOCALAPPDATA\\Programs\\nodejs\\node.exe\",\n\"$env:APPDATA\\npm\\node.exe\",\n\"$env:USERPROFILE\\scoop\\apps\\nodejs\\current\\node.exe\",\n\"$env:USERPROFILE\\scoop\\apps\\nodejs-lts\\current\\node.exe\"\n);\nforeach($p in $paths){ if(Test-Path -LiteralPath $p){ Write-Output ('NODE_CANDIDATE='+$p) } }\nGet-ChildItem -Path 'C:\\Program Files','C:\\Users\\ash\\AppData\\Local','C:\\Users\\ash\\AppData\\Roaming' -Filter node.exe -File -Recurse -ErrorAction SilentlyContinue | Select-Object -First 10 -ExpandProperty FullName | ForEach-Object { Write-Output ('NODE_FOUND='+$_) };\nGet-ChildItem -Path 'C:\\Program Files','C:\\Users\\ash\\AppData\\Local','C:\\Users\\ash\\AppData\\Roaming' -Filter npm.cmd -File -Recurse -ErrorAction SilentlyContinue | Select-Object -First 10 -ExpandProperty FullName | ForEach-Object { Write-Output ('NPM_FOUND='+$_) };\n"
Directory: projects
Status: FAILED
Exit code: 1
Cancel Job Rerun Command Refresh
+ ~~~~~~~~~~~~~~~
Unexpected token '\nGet-ChildItem' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingArgument
---
Unexpected token '\nGet-ChildItem' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingArgument
---At line:1 char:93
+ ... Continue';\n$paths=@(\n'C:\\Program Files\\nodejs\\node.exe',\n'C:\\P ...
+ ~
Missing argument in parameter list.
At line:1 char:364
+ ... coop\\apps\\nodejs-lts\\current\\node.exe"\n);\nforeach($p in $paths) ...
+ ~~
Unexpected token 'in' in expression or statement.
At line:1 char:363
+ ... \\scoop\\apps\\nodejs-lts\\current\\node.exe"\n);\nforeach($p in $pat ...
+ ~
Missing closing ')' in expression.
At line:1 char:373
+ ... ps\\nodejs-lts\\current\\node.exe"\n);\nforeach($p in $paths){ if(Tes ...
+ ~
Unexpected token ')' in expression or statement.
At line:1 char:446
+ ... h $p){ Write-Output ('NODE_CANDIDATE='+$p) } }\nGet-ChildItem -Path ' ...
+ ~~~~~~~~~~~~~~~
Unexpected token '\nGet-ChildItem' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingArgument