-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I run this on a server? #6
Comments
The dist folder contains the angular builds, the server build is in the bin folder.. |
OK I saw what you mean when trying to deploy it to heroku.. I think its fixed now.. anyway keep in mind that currently the server modules depend on mongodb connection so unless provided an error will be thrown.. |
@bojidaryovchev Yep that seemed like it did it. Thanks for the quick reply. Closing the issue! |
when i run node ./bin/server.bundle.js, but just console this message, my question is: |
I mean in SSR mode, how to deploy and run my application? |
I am running
npm run build
withNODE_ENV=production
to build out the production build. If I run the nodedist/server/main.js
express doesn't work. Is there any documentation around this?p.s.
If I run
node bin/server.bundle.js
I get an error thatthrow new Error("[HMR] Hot Module Replacement is disabled.");
The text was updated successfully, but these errors were encountered: