Closed sachinik19 closed 10 years ago
same here. How can it fixed?
var Controller, buildFromEval;
if (name in controllers && !name.match(/_controller$/)) {
Controller = compound.controller.constructClass(name, controllers[name]);
} else {
Controller = compound.controller.constructClass(name);
buildFromEval = controllers[name + '_controller'];
}
if (controllers[name].skipLogging) {
Controller.skipLogging = controllers[name].skipLogging;
}
line 231 if (controllers[name].skipLogging) {
name = 'index' but object controllers does not contain this properties
Thanks guys, fixed, released.
When updated compund to ver. 1.1.14.
Extract from StackTrace :
Safely killing child process on Error: TypeError: Cannot read property 'skipLogging' of undefined at ControllerBridge.getInstance (/home/suchit/dev/website/node_modules/compound/lib/controller-bridge.js:231:26) at ControllerBridge.loadController (/home/suchit/dev/website/node_modules/compound/lib/controller-bridge.js:193:21)
Possible Fix : In /lib/controller-bridge.js line 223