"Firebase cannot be loading because running scripts is disabled on this system", VSCode on Windows

user13030313 picture user13030313 · Mar 9, 2020 · Viewed 7.8k times · Source

I have installed the firebase tools, however whenever I try to initialize it in my rootfolder, using the terminal from Vscode, I receive the following error. Why is that?

enter image description here

Answer

Ni Ma picture Ni Ma · Sep 19, 2020
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

install firebase globally

and then,

firebase login
firebase init