error on start of node-red

node-red : File C:\Users\me\AppData\Roaming\npm\node-red.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

  • node-red
  •   + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess

Did you follow the link that was shown in the error ?
Security problem.

How did you try to start node-red ?
What commandline ?
Powershell ?
Does it have admin rights ?

In powershell (admin) you can enter

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

and retry. Note that this changes a security parameter on your system.

2 Likes

First of al: thanks!

In addition: this seems to be a policy that is different for Windows Server and normal Windows computers, and running Node Red on a normal PC seems to require changing this policy. This is something they should mention in the documentation