Closed jayminpanchal closed 7 years ago
I'll have to look into it as the docs are run on this package and do not see the same issue. Is it possible that you could provide me with a repo clone that produces this error? Thank you.
I have given you repo link please clone it and run in production mode
Sure
I'll be able to check it out Monday.
k no problem.
I cloned, installed, ran dev to make sure it worked then ran build. Everything worked just fine, can you check one more time please?
When you run a command npm run build
it will not give you any error. But when you run npm start
after build it will prompt you the error
@johnleider have you found any solution to this problem or I should comment that portion
I have no come back to this yet, I'll check tonight.
Ok. for now I have commented the code and continue with my work. But once you find it the solution then let me know
@jayminpanchal @johnleider I had this problem too, when I checked the code, I found there is no 'render' in server.js, so I change server.js to this:
then it working
Can confirm that a method was missing, it is now present and this should be considered resolved. Sorry for the wait, thank you for your patience.
I have created the project using this template. Everything is working fine with development mode.
But when I run with the production environment I got this error:
when I commented the below code in
server.js
file and its working:Do we need this code? or I should comment it?