Stuck with React App

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

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


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.