React.js "cannot be loaded because running scripts is disabled on this system." Hatası

LikapaTR

I LIKE TO BAN
Site yetkilisi
Admin
Geliştirici
Mesaj
590
Çözümler
3
Beğeni
739
Puan
814
Ticaret Puanı
0
create-react-app komutunun çalışmaması durumunda aşağıdaki hatayı alırsanız eğer bu yöntem ile sorunu çözebilirsiniz.

Error Message:
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
+ create-react-app reactapp
+ ~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

Hatanın Çözümü;

  1. Windows PowerShell'i yönetici olarak açın.
  2. set-ExecutionPolicy RemoteSigned komutunu çalıştırın.
  3. Yes deyip çalıştırın.
 
Geri
Üst