Skip to content

TypeError: Cannot call method 'addCallback' of undefined #1

Open
shenoudab opened this Issue Aug 5, 2010 · 2 comments

3 participants

@shenoudab

i got TypeError: Cannot call method 'addCallback' of undefined when trying to use Draggies

@jtwb
Owner
jtwb commented Aug 5, 2010

This project was last built on an older version of node.js . The older version of node used this format:

fs.readFile('./static/' + path).addCallback(function(content) {
...
});

The latest version of Node.JS uses this format:

fs.readFile('./static/' + path, function (err, data) {
...
});

@amixyue
amixyue commented Mar 16, 2011

why not update the project to be compatible with the latest node.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.