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

Time:09-12

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
    

CodePudding user response:

make sure you install npm and npx then use create-react-app your app name https://www.bing.com/ck/a?!&&p=e8175d51a9d03a1cJmltdHM9MTY2Mjk0MDgwMCZpZ3VpZD0xYjQzODkwOC01YTFkLTY5YWYtMmFjMC05YjBlNWIwZjY4ZjEmaW5zaWQ9NTEzOA&ptn=3&hsh=3&fclid=1b438908-5a1d-69af-2ac0-9b0e5b0f68f1&u=a1aHR0cHM6Ly93d3cubnBtanMuY29tL3BhY2thZ2UvbnB4&ntb=1

  • Related