Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Could not load Jakefile" #10

Closed
NV opened this issue Oct 2, 2010 · 2 comments
Closed

"Could not load Jakefile" #10

NV opened this issue Oct 2, 2010 · 2 comments

Comments

@NV
Copy link

NV commented Oct 2, 2010

➤ ls Jakefile*
Jakefile
➤ jake
Could not load Jakefile.
If no Jakefile specified with -f or --jakefile, jake looks for Jakefile.js in the current directory.
➤ jake -f Jakefile
Could not load Jakefile.
If no Jakefile specified with -f or --jakefile, jake looks for Jakefile.js in the current directory.
➤ mv Jakefile Jakefile.js
➤ jake
Could not load Jakefile.
➤ jake --version
0.1.5
➤ node --version
v0.3.0-pre
@mde
Copy link
Contributor

mde commented Oct 10, 2010

Okay, I've just built Node HEAD, and Jake itself works fine with it. I think what's happening is something in your Jakefile isn't compatible.

Jake will now print out a stack trace when it can't load the Jakefile. This should help you track down your problem. I've published a new version of Jake to NPM with this fix -- version 0.1.6.

Let me know if you continue to have problems.

@NV
Copy link
Author

NV commented Oct 10, 2010

You're right, the problem is in my Jakefile:

➤ jake
Error: The 'file' module has been removed. 'file.read' is now 'fs.readFile', and 'file.write' is now 'fs.writeFile'.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants