Deploying to Heroku with v0.6.2 and no models causes crash. #254

Closed
bwestmoreland opened this Issue Nov 7, 2012 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

bwestmoreland commented Nov 7, 2012

Hi Guys,

I noticed tonight that after updating my package.json and deploying fresh to Heroku that my app no longer deploys correctly. It appears that v6 requires the /app/models folder to be present, however, with a simple app that is just serving static content out of /views/main I don't have any model objects at present and git doesn't commit empty folders.

Here's the relevant log dump:
2012-11-07T00:09:57+00:00 app[web.1]: [Wed, 07 Nov 2012 00:09:57 GMT] INFO Creating 2 worker processes.
2012-11-07T00:09:57+00:00 app[web.1]: Error: Could not read path app/models
2012-11-07T00:09:57+00:00 app[web.1]:
2012-11-07T00:09:57+00:00 app[web.1]: /app/node_modules/geddy/node_modules/utilities/lib/file.js:138
2012-11-07T00:09:57+00:00 app[web.1]: throw new Error('Could not read path ' + dir);
2012-11-07T00:09:57+00:00 app[web.1]: ^
2012-11-07T00:09:57+00:00 app[web.1]: at _readDir (/app/node_modules/geddy/node_modules/utilities/lib/file.js:138:13)

Contributor

larzconwell commented Nov 9, 2012

Does this occur on a local server as well? I can't duplicate.

Contributor

mde commented Nov 9, 2012

Fix for this is in v0.6.4.

On Fri, Nov 9, 2012 at 8:39 AM, Larz Conwell notifications@github.comwrote:

Does this occur on a local server as well? I can't duplicate.


Reply to this email directly or view it on GitHubhttps://github.com/mde/geddy/issues/254#issuecomment-10235666.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment