Stuck with React App

Hello guys, I’m currently stuck in this course :

https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-react-part-i/modules/fecp-react-components/articles/how-to-create-a-react-app

When I installed React library it said success, then when i tried to run npm start I got errors.

problem

After you ran: npx create-react-app myfirstreactapp

Did you navigate to the newly created directory with the project? You’d need to do:
cd myfirstreactapp

Now if you get a file listing, you should see the files, including the package.json file. You can try running your commands now.

By the way, one very helpful command after you’re sure you’re in the right directory if you’re using VSCode is to run code .

code . (period included) opens up VSCode with the current directory opened automatically

1 Like

Thank you so much :smiling_face_with_three_hearts: .

I have solved my problem and thanks for the additional helpful command.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.