سلام استاد ،بنده خیلی سعی کردم با powershell پکیج های npm رو نصب کنم،ولی نشد،در آخر با cmd اینکارو کردم،ولی الان هرچقدر سعی میکنم که از react در cmd یا powershell ران بگیرم،این ارور رو میده
PS C:\Users\Haj sina\desktop\projects\reactnative\firstsinaproject> react-native run-android
react-native : File C:\Users\Haj sina\AppData\Roaming\npm\react-native.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.
At line:1 char:1
+ react-native run-android
+ ~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
به نظرتون مشکل از کجاست
سلام دوست من
PowerShell رو با Run Administrator اجرا کنید و کد زیر بنویسید و اینتر
Set-ExecutionPolicy RemoteSigned