Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error creating an app #101

liammclennan opened this Issue Mar 12, 2012 · 4 comments


None yet
3 participants

liammclennan commented Mar 12, 2012

I got an error (cannot read property 'mode' of undefined) when creating a new geddy app on ubuntu.

I traced the error to a bug in jake (file.js:44) and fixed it. Then I tried to commit the change back to jake but found that repository at github.com/280north/jake is a completely different project.

If anyone gets that error when creating a new app change file.js:44 from

fs.mkdirSync(targetDir, opts.mode || 0755);


fs.mkdirSync(targetDir, options.mode || 0755);

Does anyone know how I can fix this in the npm jake package?

Yep, there are few jakes kicking around (which gets really confusing). The one in NPM is:



mde commented Mar 12, 2012

I'm the author of both Geddy and (the Node version of) Jake. :) I pushed this broken code in a release of Jake in the last couple of days. This is now fixed in NPM in Jake v0.2.28. Let me know if this fixes you up.


liammclennan commented Mar 12, 2012

Yes, that is working now. Thanks.


mde commented Mar 12, 2012

Excellent. Thanks for your patience. Let me know if you have other issues.

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