Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18546] LiveView: Incompatible with Node 0.12

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2015-02-12T21:03:28.000+0000
Affected Version/sRelease 3.4.1
Fix Version/sRelease 3.4.2
ComponentsLiveView
Labelsqe-3.5.1
ReporterTim Poulsen
AssigneeFeon Sua Xin Miao
Created2015-02-10T21:04:21.000+0000
Updated2015-03-02T17:59:49.000+0000

Description

After the fixes for TIMOB-18538 are applied, apps will still not build. The ti build command ends with this error:
[INFO]  Skipping xcodebuild
[INFO]  Finished building the application in 1s 850ms
/Users/admin/repos/titanium_skypanther/node_modules/longjohn/dist/longjohn.js:185
        throw e;
              ^
Socket.socketErrorListener (_http_client.js:269:42),Socket.emit (events.js:107:17),net.js:451:14,process._tickCallback (node.js:355:11)
Removing the LiveView hook from my ~/.titanium/config.json file eliminates this error and apps build fine, indicating LiveView is the source of this error.

Comments

  1. Feon Sua Xin Miao 2015-02-12

    PR: https://github.com/appcelerator/liveview/pull/83 Functional Test: 1. change to node v0.12.0 2. app should be build with no error 3. without closing the sim, change the app’s code and save, the app should update
  2. Tim Poulsen 2015-02-12

    Approved, PR merged
  3. Ewan Harris 2015-03-02

    Verified fix on: Mac OSX 10.10.2 Appcelerator Studio, build: 3.4.2.201502181619 Titanium SDK build: 3.5.1.v20150226105118 Titanium CLI, build: 3.4.2-rc Alloy: 1.5.1 Node 0.12.0 LiveView 1.0.7 When building with LiveView enabled the build no longer fails with the above error. The behavior of LiveView is still as expected. Closing ticket.

JSON Source