Search code examples
node.jswindows-installeraccess-denied

Node.js: Access Denied


Just installed node.js on Windows 10 via msi installer. Any command results to access denied error.

PS D:\sasha\Angular\ExampleShop> node -v
Сбой выполнения программы node.exe: Отказано в доступестрока:1 знак:1
+ node -v
+ ~~~~~~~.
строка:1 знак:1
+ node -v
+ ~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

Solution

  • Eventually, resolved the issue by myself. I changed Owner of the folder in which I installed node.js to my domain account.