Slappey won't add to package.json and won't start
DasherBolt opened this issue · comments
DasherBolt commented
When I do "npm install -g slappey" it does not start and throws an error:
PS C:\Goutham\coding\Bot + Admin> slappey
slappey : File C:\Users\gouth\AppData\Roaming\npm\slappey.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
- slappey
-
+ CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
Geir Andersen commented
Have a read through this: SuperUser - Running scripts
You need to enable the running of scripts.
DasherBolt commented
Oh thanks! It works now!