简体   繁体   中英

running scripts is disabled for firebase hosting in vscode terminal

firebase: File C:\Users\CHRISTIN UNION\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.

Open windows PowerShell as a Administrator mode. Run this command:

set-executionpolicy remotesigned

Then, type y to yes to all. Hope this will work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM