-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Error : Cannot GET / #315
Comments
some issue, below my server.js file (I used require instead of import because it doesn't works for me) `var React = require('react'); // we'll use this to render our app to an html string // and these to match the url to routes and then render var app = express();
function renderPage(appHtml) { Besides I have this error: Any help? thanks |
I think you use isomorphic method for serverside rendering (Isomorphic didnt support newest Version of react). Refer https://github.com/jackfranklin/universal-react-example ..this is a best example for Universal serverside rendering |
I have this problem too. @Aadriya could you please explain more detail? what is isomorphic method? is this because the node version is too old? |
When i run http://localhost:8080/ get Cannot GET /
The text was updated successfully, but these errors were encountered: