2 Matching Annotations
  1. Last 7 days
    1. npm install -g yo generator-office

      I got the following error: npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + npm install -g yo generator-office + ~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess I fixed this by running the following command in an admin powershell: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned