• 1399/04/10

react navigation :

سلام استاد.

ببشخید وقتی میخوام وابستگی های react navigation رو نصب کنم با این ارور مواجه میشم.

(خود react navigation بدون مشکل نصب شد ولی وابستگی ها نصب نمیشن.)

PS C:\Users\MoDerN\Desktop\navigation> expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
expo : File C:\Users\MoDerN\AppData\Roaming\npm\expo.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
+ expo install react-native-gesture-handler react-native-reanimated rea ...
+ ~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
  • 1399/04/12
  • ساعت 17:52

سلام دوست من

این دستور رو در Power Shell اجرا کنید

Set-ExecutionPolicy RemoteSigned

دوباره وابستگی هارو نصب کنید باید انجام بشه


logo-samandehi