I am new to reactjs, I am working on a app. It was running fine, but when I\'ve run npm run build command, I am getting error "You need to enable JavaScript to run this
app.use(express.static(__dirname)); //here is important thing - no static directory, because all static :)
app.get("/*", function(req, res) {
res.sendFile(path.join(__dirname, "index.html"));
});