L
L
LaraG2020-07-01 21:17:25
React
LaraG, 2020-07-01 21:17:25

How to open the localhost 3000 project in the browser that I am doing in React?

How to open the localhost 3000 project in the browser that I am doing in React?
I started the project yesterday and opened it with npm start.
It is no longer open today.

when i set npx create-react-app nameProject >
i chose project name "flowerbook"
now path to package.json'npm changed from \React_LarisaGrigoras\package.json'npm
to: React_LarisaGrigoras\flowerbook\package.json'npm
How to change path and run the project in the browser?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LaraG, 2020-07-01
@LaraG

Removed the folder in the middle and the issue was resolved.
But I didn’t understand why set the project name when running npx create-react-app nameProject,
since this folder name is not saved, and then it turns into a problem ?!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question