problem
If there is an existing installation of liveview and I install liveview from a local repo:
cd liveview && sudo npm install -g .
the installation completes with no error, but the titanium CLI command no longer works. By "no longer works" I mean I run
titanium
or
titanium
with any of its commands and it quickly returns with absolutely no output. No errors, no output.
workaround
I need to uninstall liveview and titanium via npm before anything will work again. After the uninstall I can successfully install liveview and titanium works again.
sudo npm uninstall -g liveview
sudo npm uninstall -g titanium
sudo npm install -g titanium@3.1.0-cr
cd liveview && sudo npm install -g .
This is due to an error in the hook path installed being normalized and the uninstall tries to find the non normalized path to remove and fails. Already have a fix in place pr will follow tomorrow
[MASTER] PR https://github.com/appcelerator/liveview/pull/17
Pulled and test pr/17. Can no longer reproduce the issue cited here. Looks good to me.
Verified on LiveView 0.1.32 + Titanium CLI 3.1.2-alpha.