Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services
A problem I’ve been struggling with for a long time was that whenever I’m developing and make a typo e.g. missing closing bracket, the TiShadow log would only show “Alloy Compile Error” and not give any details about the filename or line number.
This made looking for the error pretty troublesome on occassion.
The feature of verbose error logs with filenames and line numbers has been on TiShadow’s master branch for some time it seems but every time I tried to update, I still couldn’t see them.
The problem turned out to be that I had multiple TiShadow hooks inside ~/.titanium/config.json linking to older versions. I removed these older versions and left only references to the single installation I wanted to use and now I finally see verbose error messages!
To install from master do:
$ sudo npm install -g dbankier/TiShadow