Issue running a react web application and fixing the errors

时间:2016-12-02 05:06:45

标签: node.js reactjs web-applications npm

I'm trying to run a react web application I found on GitHub. I'm running this code by typing "npm start" in the terminal and then going to http://localhost:8080/webpack-dev-server/. However the application doesn't move past the first screen after clicking "Get Started". enter image description here

After inspecting the page I see the following errors:

enter image description here

1 个答案:

答案 0 :(得分:0)

Try this...and you check this also

you must add check package.json and delete "test" "echo \"Error: no test specified\" && exit 1" inside "scripts" object.

Let's add the start command instead.

"start": "webpack-dev-server --hot"

And also check your node_moduls folder, and also you must do npm install