Troubleshooting¶
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:
Last update:
2023-07-04
Created: 2023-06-28
Created: 2023-06-28