Closed sheldonbaker closed 6 years ago
My bad: Once you've uploaded dist to your server, you need to run npm install inside.
Perhaps a change to the Quick Start section in the README should point out that one needs to run npm install
inside of dist
after doing an ember build
.
Using this minimal setup of my server:
Though my ember app runs fine on it's own (even in fastboot mode) with
ember serve
, my server implementation above constantly throws:Cannot find module 'node-fetch'
orCannot find module 'moment'
(used from ember-simple-auth and ember-moment, e.g.).I have
node-fetch
in my app'spackage.json
'sfastbootDependencies
. Is there any other setup step that I'm missing?