Debugging Stack Trace Errors


I’ve got a site up and running locally and on Galaxy. Unfortunately, on Galaxy I’m getting a stack trace notice that effectively breaking the app. It’s “Cannot read property ‘length’ of undefined” - which I understand. I think I know what the problem is, however I have no idea where it is. Checking length happens all over the place, so with the logs trace being so convoluted, how do I find out which line in which JS file is the problem? I figured the Chrome extension would have something more useable, but unless I’m missing something, I’m just looking at:


Uhh, what do I do with that?


is this error in the client side ? did you check the server logs ?
it can be a missing package ( forgot --save ?)
a fresh install on your dev environment will allow to find what’s missing
maybe kadira:io package will give you more information ?
when does it appear ? at startup -> check your startup files , after a specific ui pattern -> increase log information in your client files to isolated the portion of related code
keep us informed on how you fix it :wink: