firebase.ps1 cannot be loaded because running scripts is disabled on this system Solution

 When I was running the firebase serve command got this error

firebase.ps1 cannot be loaded because running scripts is disabled on this system

For solution:

Open PowerShell with run as administrator

Not type below command and enter

Get-ExecutionPolicy

It will show you restricted

Then execute below command

Set-ExecutionPolicy Unrestricted

Then, again run below command

Get-ExecutionPolicy

Now I will sho you unrestricted.

Problem resolved😊

Post a Comment

0 Comments