Troubleshooting nais-cliΒΆ
Could not create process with command
ΒΆ
If you get an error message like this (the path may vary):
> nais
Could not create process with command '"C:\Users\<YOU>\scoop\apps\nais-cli\current\nais.exe" '.
> C:\Users\<YOU>\scoop\apps\nais-cli\current\nais.exe
ResourceUnavailable: Program 'nais.exe' failed to run: An error occurred trying to start process 'C:\Users\<YOU>\scoop\apps\nais-cli\current\nais.exe' with working directory '<SOMEWHERE>'. Access is denied.At line:1 char:1
+ C:\Users\<YOU>\scoop\apps\nais-cli\current\nais.exe
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
%USERPROFILE%\scoop\apps\nais-cli
from Windows Security:
- Open Windows Security.
- Select Virus & threat protection.
- Select Manage settings, and then under Exclusions, select Add or remove exclusions.
- Select Add an exclusion, and then select folder.
- Add the folder
%USERPROFILE%\scoop\apps\nais-cli
.
Alternatively, from an elevated PowerShell:
Mac: User xxx does not existsΒΆ
If you get an error message like this when running brew install nais
clear the envvariable USER
verify that USER is empty; runbrew install nais
again