Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13736] Liveview: Running "liveview-help" from Appcelerator Studio install results in error.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2013-08-14T21:24:52.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sRelease 3.1.2
ComponentsLiveView
Labelsliveview, qe-3.1.1, qe-testadded
ReporterEric Merriman
AssigneeChristian Sullivan
Created2013-05-01T21:58:09.000+0000
Updated2013-09-23T09:12:54.000+0000

Description

Description:

There are a few commands available in the studio install of Liveview. These include "liveview-help". Running this command results in a error:
emerrimanMBP:bin emerriman$ ./liveview-help

/Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.liveview.core_1.0.0.1367297126/node_modules/liveview/bin/liveview-help:8
  , colors = reuire('coloring')
             ^
ReferenceError: reuire is not defined
    at Object.<anonymous> (/Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.liveview.core_1.0.0.1367297126/node_modules/liveview/bin/liveview-help:8:14)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:245:9)

Steps to reproduce:

1) navigate to the Appc studio install location bin folder: Mine is: /Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.liveview.core_1.0.0.1367297126/node_modules/liveview/bin 2) Run liveview-help

Result:

Error as shown above

Expected Result:

Some sort of help appears

Comments

  1. Christian Sullivan 2013-05-01

    Fixed in new master https://github.com/appcelerator/liveview/commit/33bc78d025c5e1e6b705e8f3f79bbd4a087163d0
  2. Michael Xia 2013-08-14

    Verified fixed on Appcelerator Studio, build: 3.1.2.201308091728 (containing LiveView 0.1.32). Running ./liveview-help from the liveview bin path returns the right output. Closing.

JSON Source