Saturday, September 7, 2024
HomeProgramingNodeJS error UnauthorizedAccess live-server command on Window

NodeJS error UnauthorizedAccess live-server command on Window

Mô tả lỗi:
live-server.ps1 cannot be loaded because running scripts is disabled on this system

Plaintext
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
+ live-server
+ ~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

Hướng dẫn xem tại : https:/go.microsoft.com/fwlink/?LinkID=135170

Mở cửa sổ Window PowerShell và thực thi các lệnh sau

Chạy lại command:

Chúc các bạn thành công !

Nguyễn Minh Châu
Nguyễn Minh Châuhttps://laptrinhdotnet.com
Hi guys ! I'm a software developer. I love programming and new technologies. I create non-professional content on this website, you can only view it for reference purposes.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here