CleverStack / node-seed

The NodeJS based Modular Backend for CleverStack (but it also works great on its own), MEAN and so much more.
http://youtube.com/watch?v=-4ArURHExhQ
MIT License
55 stars 14 forks source link

grunt db failing #102

Closed theocoria closed 9 years ago

theocoria commented 10 years ago

Hi Richard,

I started going through the whole process of installing cleverstack again and got the following error when trying to run grunt db:

grunt db Running "exec:ormRebase" (exec) task Using configuration: { Account: { hasMany: [ 'User' ] }, User: { belongsTo: [ 'Account' ] } }

/home/theocoria/Projects/latestCleverStack/backend/lib/classes/Module.js:68 if ( config.bundledDependencies.indexOf( 'clever-background-tasks' ) ) ^ TypeError: Cannot call method 'indexOf' of undefined at Class.exports.Class.Class.extend.setup (/home/theocoria/Projects/latestCleverStack/backend/lib/classes/Module.js:68:41) at Function.extend.newInstance (/home/theocoria/Projects/latestCleverStack/backend/node_modules/uberclass/lib/class.js:110:23) at class_cb (/home/theocoria/Projects/latestCleverStack/backend/node_modules/uberclass/lib/class.js:94:43) at Object.exports.extend (/home/theocoria/Projects/latestCleverStack/backend/lib/classes/Module.js:268:51) at Object. (/home/theocoria/Projects/latestCleverStack/backend/modules/clever-auth/module.js:6:25) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) Exited with code: 8. Warning: Task "exec:ormRebase" failed. Use --force to continue.

Aborted due to warnings.

pilsy commented 9 years ago

The issue has been fixed with new versions of cleverstack-cli, node-seed, clever-orm, clever-auth and clever-roles