when i want to create react app with yarn its give me this error. Anyone help me please

yarn : File C:\Users\TECH MOON\AppData\Roaming\npm\yarn.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

  • yarn –v
  •   + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess

>Solution :

make sure you install npm and npx
then use create-react-app your app name

Leave a Reply