'Firebase cannot be loading because running scripts is disabled on this system firebase init is not working

I have installed the firebase hosting tools, when I try to initialize firebase hosting using the terminal from Vscode, I receive the following error. Why is that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source