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

kanso push fails with latest properties(0.0.12) #1

Open
sreeix opened this issue Jan 27, 2012 · 1 comment
Open

kanso push fails with latest properties(0.0.12) #1

sreeix opened this issue Jan 27, 2012 · 1 comment

Comments

@sreeix
Copy link

sreeix commented Jan 27, 2012

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',
}

@caolan
Copy link
Member

caolan commented Jan 27, 2012

I think updating your modules package to the latest version should fix this. I'll update the version requirements on the latest properties package to reflect this. Thanks for reporting this.

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