I wanted to use yeoman to create an add-in for the office with angular. After installing requirement tools like nodeJs, angular, yeoman, generator-office in power shell, I have tried to run this code
yo office
But I have been got this error:
yo : File C:\Users\ME\AppData\Roaming\npm\yo.ps1 cannot be loaded.
The file C:\Users\ME\AppData\Roaming\npm\yo.ps1 is not digitally signed.
You cannot run this script on the current system.
For more information about running scripts and setting execution policy,
see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ yo office
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess