Estou tentando rodar uma aplicacao no heroku, mas ele nao consegue encontrar as pastas pelo consign. Detalhe, que a aplicacao localmente roda perfeitamente, mas ao subir ela nao funciona.
Meu consign: consign({cwd: 'app'}) .include('controllers') .then('persistencia') .then('routes/auth.js') .then('routes') .into(app);
2017-10-26T02:46:55.440399+00:00 app[web.1]: > site-api@1.0.0 start /app
2017-10-26T02:46:55.440400+00:00 app[web.1]: > node index.js
2017-10-26T02:46:55.440401+00:00 app[web.1]:
2017-10-26T02:46:55.965363+00:00 app[web.1]: consign v0.1.2 Initialized in app
2017-10-26T02:46:55.967115+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967263+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967343+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967417+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967621+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967691+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967760+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967825+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967899+00:00 app[web.1]: + ./
2017-10-26T02:46:55.967987+00:00 app[web.1]: + ./
2017-10-26T02:46:55.968151+00:00 app[web.1]: + ./
2017-10-26T02:46:55.968224+00:00 app[web.1]: + ./
2017-10-26T02:46:55.968282+00:00 app[web.1]: + ./
2017-10-26T02:46:56.007234+00:00 app[web.1]: /app/app/routes/auth.js:3
2017-10-26T02:46:56.007236+00:00 app[web.1]: var apiAuth = app.controllers.authController;
2017-10-26T02:46:56.007237+00:00 app[web.1]: ^
2017-10-26T02:46:56.007237+00:00 app[web.1]:
2017-10-26T02:46:56.007238+00:00 app[web.1]: TypeError: Cannot read property 'authController' of undefined