Open devdemi opened 7 years ago
I'd like to excuse myself and bump this issue, as I have the exact same one.
@TheFragen Thank you reporting the issue! Can you mention what version of ember-cli-fastboot and fastboot are you using? if you could share a dummy reproduction that would be great as well.
@devdemi: Seems like those steps have changed now. If you go to back to that deploy page, it now says:
NOTE: This page is out of date, FastBoot App Server is the current recommended way.
Here is what you can to do instead, to test it locally:
Fastboot-Server-My-App
npm i fastboot-app-server --save
ember build --environment production
dist\
folder from the ember app folder into Fastboot-Server-My-App
.server.js
and put this code inside: [Link]
Your folder should end up looking like this:
Fastboot-Server-My-App
folder and run this command:PORT=8000 node server.js
If you want to reduce the number of steps, then simply point to the right location of the dist\
folder in distPath
in server.js
Enjoy! 😊
I had this problem with fastboot 1.1.0 when I updated to Ember 3.0. I updated to fastboot 1.1.3 and it fixed the problem. I think this fixed the problem: https://github.com/ember-fastboot/ember-cli-fastboot/commit/3a7daca150d841af7c724728145b90151c6cc207
I followed steps here https://ember-fastboot.com/docs/deploying#deploying-your-app And after start
ember-fastboot /usr/src/fe/dist/ --port 80
I got net error:My versions: node: 4.5.0 npm: 2.15.9 ember-cli: 2.15.0
Please help me to find reason of this error.