0
votes

Firing any firebase command in terminal throws this error

firebase : File C:\Users\Fresh\AppData\Roaming\npm\firebase.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 + firebase login + ~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess

firebase commands throw this error

1

1 Answers

2
votes

Your solution is running VS code as Administrator or just use another cmd, to open default cmd, just type cmd in powershell available in vs code, which is restricting from running script.