cake stats doesn't work #9

Open
mariyadavydova opened this Issue Jun 6, 2012 · 0 comments

Comments

Projects
None yet
1 participant

An error occurs when calling 'cake stats' in muffin dir:

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object function glob(pattern, options, cb) {
if (typeof options === "function") cb = options, options = {}
if (!options) options = {}

if (typeof options === "number") {
deprecated()
return
}

var m = new Glob(pattern, options, cb)

if (options.sync) {
return m.found
} else {
return m
}
} has no method 'globSync'
at Object.action (/home/mariya/node_modules/muffin/Cakefile:30:34)
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:42:26
at Object.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:67:21)
at Object. (/usr/local/lib/node_modules/coffee-script/bin/cake:7:38)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)

The version of glob is 3.1.9, node is 0.6.17, muffin is 0.5.0.

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