How to revert Alloy to previous version

Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services

One of our development machines was recently upgraded to the latest version of Alloy and Appcelerator’s Titanium SDK which gave us a couple of minor display bugs that we didn’t want to spend time fixing at this particular moment in time.

It’s quite easy to revert as long as you know the previous version that you’d like to revert to.

Just type:

sudo npm install -g alloy@1.2.2

and just replace “1.2.2” with the version you’d like to revert to.  Don’t forget to update the Alloy version in your tiapp.xml as well if you made changes there.  And if you did make changes to your tiapp.xml don’t forget to “clean” your project before you re-build 🙂

(Thanks to the documentation: https://github.com/appcelerator/alloy/blob/master/CHANGELOG.md)



About Phil Smithson

Ultrarunner & CTO. Passions include Mobile app development, Scrum, Kanban, Wordpress and Symfony.

Leave a Reply

Your email address will not be published. Required fields are marked *


*