kanso/properties — Issue #1: kanso push fails with latest properties(0.0.12)
Author: sreeix
Created: 2012-01-27 15:48:55+00:00
State: open

I pulled the latest version(0.0.12) of properties and I get the following error

loading packages/events
Error: TypeError: Cannot read property 'fn' of undefined
at /usr/local/lib/node_modules/kanso/lib/buildsteps.js:261:29
at Array.forEach (native)
at BuildManager.reverseBefores (/usr/local/lib/node_modules/kanso/lib/buildsteps.js:260:19)
at BuildManager.run (/usr/local/lib/node_modules/kanso/lib/buildsteps.js:127:10)
at Object.postprocess (/usr/local/lib/node_modules/kanso/lib/packages.js:343:8)
at /usr/local/lib/node_modules/kanso/lib/packages.js:78:21
at /usr/local/lib/node_modules/kanso/node_modules/async/lib/async.js:199:13
at /usr/local/lib/node_modules/kanso/node_modules/async/lib/async.js:105:25
at /usr/local/lib/node_modules/kanso/node_modules/async/lib/async.js:196:17
at BuildManager. (/usr/local/lib/node_modules/kanso/lib/packages.js:262:16)
Failed

I rolled back to 0.0.10 and it works(at least does not crash) I checked 0.0.11 as well and have the same error

Looks like it is a problem with

before: 'modules/cleanup',

in properties-> build/load.js

It tries to find modules/cleanup but i can only see

{ pkg: 'attachments',
name: 'cleanup',
},
{ pkg: 'modules',
name: 'attachment',
},
{ pkg: 'properties',
name: 'load',
},
{ pkg: 'mustache',
name: 'load_files',
}