I am getting the problem in installing the reactjs on the localhost. Getting the error of module babel.
One more thing I am following the tutorial from https://www.tutorialspoint.com/reactjs/. I followed all the steps same to same as given in the installation chapter but still getting the errors.
Since it solved your issue I am posting this here as an answer as well.
Save the following packages as dependencies to your project.
npm install -D babel-core babel-loader babel-preset-react babel-preset-es2015
This is equal to doing
npm install -D babel-core
npm install -D babel-loader
npm install -D babel-preset-react
npm install -D babel-preset-es2015
-D arguments saves the packages as
devDependencies in your