How to deploy using dev mode?

I met this problem. Showing:

EXCEPTION: No Directive annotation found on e

and

ngDoCheck is not a function when using minified bundles

So right now I want to use a temporary way to let it run on the server.

I am using Heroku.
Is it possible to deploy using dev mode instead of production mode? Thank you!

Options:
  --delete, -D  permanently delete this deployment
  --debug       deploy in debug mode (don't minify, etc)
  --settings    set optional data for Meteor.settings
  --allow-incompatible-update   Allow packages in your project to be upgraded or
                downgraded to versions that are potentially incompatible with
                the current versions, if required to satisfy all package version
                constraints.

So with --debug you should be able to achieve what you want.


Ah, on Gitter you didn’t mention that you’re deploying to Heroku. :stuck_out_tongue: Sorry.

Thanks, @brajt. I got some ideas. Now it seems like I need somehow set in Heroku. I think I need ask on Stack Overflow. Link to the question on Stack Overflow

I tried
heroku config:set NODE_ENV=dev
heroku config:set NODE_ENV=development
heroku config:set NODE_ENV=debug

Neither works.