React Development Setup and Ravenous Part 1

Hello,

I am having issues with the general Creating a React App article. I am working in v14.18.0 in node and get an error while trying to follow the instructions in my own git bash terminal. When I try to execute “npx create-react-app myfirstreactapp” I get the error below. I then check in $ls and myfirstreactapp doesn’t exist. I am hoping I missed something easy and can then continue.

image

https://www.codecademy.com/paths/web-development/tracks/front-end-applications-with-react/modules/react-development-setup-and-ravenous-part-1/articles/how-to-create-a-react-app

Hi,
looks like you tried to create the App in the directory
C:\Program Files\Git
You won’t have the writing permission to do that. When you type pwd, which directory does it log?

1 Like

/
When I type in pwd / is what is shown.

Ok then you’re apparently trying to create the App directly in the root and don’t have writing permission.
How did you try to create the App?
Do you use the terminal of VS Code?

1 Like

I am using the git bash terminal that was downloaded in the article right before. I added the link below.

I guess the correct question should be where should I be saving my app?

https://www.codecademy.com/paths/web-development/tracks/front-end-applications-with-react/modules/react-development-setup-and-ravenous-part-1/articles/f1-u3-cli-setup

Anywhere where you would save other files or folders, too.
I recommend you create a folder anywhere on your computer and open that in VSCode. From there open the Terminal of VSCode. Confirm that you are in the right folder by typing pwd and see if it logs your folder name. Then type the command to create the App again.

1 Like

That seems to be working. Thanks for the help.

1 Like