stuyy / slappey

Discord Bot Project Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slappey won't add to package.json and won't start

DasherBolt opened this issue · comments

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
    

Have a read through this: SuperUser - Running scripts

You need to enable the running of scripts.

Oh thanks! It works now!