PS C:\myfirstapp> create-react-app myfirstapp
create-react-app : File C:\Users\MY PC\AppData\Roaming\npm\create-react-app.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
You can help us help you by showing us the error snippet
PS C:\myfirstapp> create-react-app myfirstapp
create-react-app : File C:\Users\MY PC\AppData\Roaming\npm\create-react-app.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
Above is the error i am getting when i try to create a app without npx
Run the command prompt as admin and try again