Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13592] LiveView: Installing LiveView from git breaks titanium CLI

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-04-19T20:06:38.000+0000
Affected Version/sRelease 3.1.0
Fix Version/sRelease 3.1.2
ComponentsLiveView
Labelsn/a
ReporterTony Lukasavage
AssigneeChristian Sullivan
Created2013-04-16T14:21:35.000+0000
Updated2013-08-14T20:54:48.000+0000

Description

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 .

Comments

  1. Christian Sullivan 2013-04-19

    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
  2. Christian Sullivan 2013-04-19

    [MASTER] PR https://github.com/appcelerator/liveview/pull/17
  3. Tony Lukasavage 2013-04-19

    Pulled and test pr/17. Can no longer reproduce the issue cited here. Looks good to me.
  4. Michael Xia 2013-08-14

    Verified on LiveView 0.1.32 + Titanium CLI 3.1.2-alpha.

JSON Source