added "express-react-views" np; created views and layout for react;

А почему просто __dirname не лезя и path.join?