I am using ember-cli and have a problem with selecting the production environment. Specifically, everything works when I run ember serve --environment=development
and I get a blank page when I run ember serve --environment=production
. In the console, I see:
- Uncaught TypeError: undefined is not a function
- Uncaught Error: Could not find module simple-auth/authenticators/base
All other things are equal, and all dependencies are up to date. I'm a total noob so I don't even know where to begin on how to debug: is it ember? ember-cli? broccoli? Any help would be appreciated.