Heroku - State changed from starting to up

1,329 views
Skip to first unread message

Tarcísio Corte

unread,
Aug 8, 2016, 2:37:59 PM8/8/16
to nodejs
Hey all,
Has someone already worked with Heroku?
I run perfectly my application on my dev environment, but it didn't work in the Heroku

Have you an ideia???

It use Jade framework

2016-08-08T17:52:06.983757+00:00 heroku[web.1]: State changed from starting to up
2016-08-08T17:52:08.495310+00:00 app[web.1]:  [0mGET /  [31m500  [0m311.691 ms - 22 [0m
2016-08-08T17:52:08.496641+00:00 app[web.1]: Error: Failed to lookup view "index" in views directory "/app/server/views"
2016-08-08T17:52:08.496653+00:00 app[web.1]:     at SendStream.emit (events.js:107:17)
2016-08-08T17:52:08.496654+00:00 app[web.1]:     at SendStream.error (/app/node_modules/send/index.js:275:17)

Emanuele DelBono

unread,
Aug 11, 2016, 8:35:26 PM8/11/16
to nod...@googlegroups.com
It seems that a file is missing. Heroku says that the file index (probably index.jade o index.pug) is missing in the /app/server/views.
You can give a look running a bash into heroku (heroku run bash) and checking if file exists.


--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscribe@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/4e0eba65-ae09-4732-bd18-151babc97002%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages