I can't do Ionic Start

PS C:\Users\ACER> ionic start
ionic : File C:\Users\ACER\AppData\Roaming\npm\ionic.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

  • ionic start
  •   + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess

As the error states, PowerShell needs to be configured to allow you run scripts on your computer. Read over about Execution Policies - PowerShell | Microsoft Learn.

I would try RemoteSigned.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Make this change of course at your own risk :grinning:

Before changing the policy, you can run Get-ExecutionPolicy -List to get the current policy applied and set it back when you are done if you want.