Installing node


After typing this command i get something like this what to do after this ??

Hi @veenanankani03,

Apologies for the delay in getting back to you.
Try these steps out
Check if create-react-app is installed globally : Ensure that you have create-react-app installed globally on your system. If not, you can install it by running the following command in your terminal:
npm install -g create-react-app

Check if NPX is installed : NPX comes bundled with npm , so you should have it installed if you have Node.js installed on your system. However, it’s still worth checking if npx is available. Try running:
npx --version

After following the above mentioned steps
I still cant see any subfolder named hello world in it

Hi @veenanankani03,

Open your Browser and type http://localhost:3000, You should be able to view the hello-world in the browser.

But as shown in text lessons
There should be hello-world and src folder inside created react folder

Hi @veenanankani03,

Here are few steps you have to follow to check the proper installation.
To see if Nodejs is installed properly, you can run the following command in the command prompt/terminal:

node -v

You will see a version number displayed. The version number is not that important, but the fact that you see it means that nodejs has been installed. Next, we need npm . Most of the times npm is automatically downloaded with nodejs, so you can run the following command and verify this:

npm -v

Note: More on npm: It is called the node package manager, using which we can install various packages.

To run the following commands, you need to be in the right directory. So make sure the command prompt is in the React folder you created previously. You can use the cd command to change directories. Say for example your React folder is in the Desktop folder, which in turn is in your C drive , then you type: cd C:\Desktop\React and hit enter in the command prompt to enter the directory, then you run the following command:

npx create-react-app hello-world

This will take a bit of time to load the files required for setting up the environment for you. Once this command completes, you will see a new folder inside the React folder, with the name you defined above. You can see this at the left side of the editor.

To summarize

  1. Firstly check if npm and node is installed properly in your system.
  2. Check if you are in the right directory.
  3. Delete the existing project and use the command to create a new react project.