-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creat react app script not working in vscode #9309
Comments
Did you globally install CRA? The recommendation is to use npx to run it Also, I'd recommend WSL2 as its a much better developer experience, at least to me it is |
use |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
still not able to install with npx |
The problem is not with the npx it is with your system . the error says "cannot be loaded because running scripts is disabled" . so i suggest you to go through these kinda articles https://stackoverflow.com/questions/56199111/visual-studio-code-cmd-error-cannot-be-loaded-because-running-scripts-is-disabl |
thanks man for your guidance i got the answer and you all guys are amazing helped me alot |
was successful. Thank you |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
I solved this using the following command.
then
Thanks for this! Worked for me too. |
Open powershell as an administrator. This worked for me. |
By adding the line: "terminal.integrated.defaultProfile.windows": "PowerShell", on the JSON file in setting, I recovered my problem like:
Thanks a lot. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
PS E:\jitsi\MERN> create-react-app MERN
create-react-app : File C:\Users\marsec developer\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
PS E:\jitsi\MERN> create-react-app mern
create-react-app : File C:\Users\marsec developer\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
PS E:\jitsi\MERN> create-react-app
create-react-app : File C:\Users\marsec developer\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
If you're looking for general information on using React, the React docs have a list of resources: https://reactjs.org/community/support.html
If you've discovered a bug or would like to propose a change please use one of the other issue templates.
Thanks!
The text was updated successfully, but these errors were encountered: