Command: powershell -NoProfile -Command "$ErrorActionPreference='Stop'; Write-Output ('NODE=' + (& node --version)); Write-Output ('NPM=' + (& npm --version)); $c = Get-Command clasp -ErrorAction SilentlyContinue; if(-not $c){ & npm install -g @google/clasp }; $c2=Get-Command clasp -ErrorAction Stop; Write-Output ('CLASP_PATH=' + $c2.Source); Write-Output ('CLASP=' + (& clasp --version))"
Directory: projects
Status: FAILED
Exit code: 1
Cancel Job Rerun Command Refresh
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:225
+ ... l -g @google/clasp }; $c2=Get-Command clasp -ErrorAction Stop; Write- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (clasp:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
---
+ ... l -g @google/clasp }; $c2=Get-Command clasp -ErrorAction Stop; Write- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (clasp:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
---
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (clasp:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
---The system cannot find the path specified.
NODE=
The system cannot find the path specified.
NPM=
The system cannot find the path specified.
Get-Command : The term 'clasp' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:225
+ ... l -g @google/clasp }; $c2=Get-Command clasp -ErrorAction Stop; Write- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (clasp:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand