manuelbieh / react-ssr-setup

React Starter Project with Webpack 4, Babel 7, TypeScript, CSS Modules, Server Side Rendering, i18n and some more niceties

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to access server after build

tpriyesh opened this issue · comments

Thanks for this awesome package. I am facing one issue. When I am doing yarn build, it generates production build file in build folder. When I am trying to run server.js file present in build/server by doing node server.js it is showing App is running on App is running: http://localhost:8500

When I try to access it by going to http://localhost:8500, it is giving me {"status":"error","message":"Asset Manifest could not be loaded.","stack":false}

Can you please let me know what I am doing wrong ?

Resolved. I was running by going in build/server directory. When I ran from src like node buld/server/server.js , it worked