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
Fixed in new master https://github.com/appcelerator/liveview/commit/33bc78d025c5e1e6b705e8f3f79bbd4a087163d0
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.