Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18628] Update the node version in vendorDependencies in the package.json

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2015-03-04T00:10:34.000+0000
Affected Version/sRelease 3.5.1, Release 4.0.0
Fix Version/sRelease 3.5.1, Release 4.0.0
ComponentsAndroid, BlackBerry, iOS, MobileWeb, Windows, Windows Hybrid
Labelsqe-3.5.1
ReporterEwan Harris
AssigneePedro Enrique
Created2015-03-02T19:11:00.000+0000
Updated2015-03-04T00:39:31.000+0000

Description

Description

In the package.json for each platform within the SDK the node version needs to be updated from
"node": ">0.8.0 <=0.10.x",
to
"node": ">=0.10.0 <=0.12.x",
This needs to be done for every platform supported.

Steps To Reproduce

1. Open finder and navigate to your SDK folder (~/Library/Application\ Support/Titanium/) 2. Open an SDK and check the package.json in each platform folder.

Actual Result

The node versions under vendorDependencies will be *": ">0.8.0 <=0.10.x",*

Expected Result

The node versions under vendorDependencies should be *"node": ">=0.10.0 <=0.12.x",*

Comments

  1. Ingo Muschenetz 2015-03-02

    Lines to fix: * https://github.com/appcelerator/titanium_mobile/blob/master/iphone/package.json#L25 * https://github.com/appcelerator/titanium_mobile/blob/master/android/package.json#L28 * https://github.com/appcelerator/titanium_mobile/blob/master/mobileweb/package.json#L22 Also add to the _root_ package.json: https://github.com/appcelerator/titanium_mobile/blob/master/package.json the same node vendor dependency.
  2. Chris Barber 2015-03-02

    Also need to update https://github.com/appcelerator/titanium_mobile_windows/blob/master/package.json.
  3. Pedro Enrique 2015-03-02

    PR for titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/6680
  4. Pedro Enrique 2015-03-02

    PR for 3.5.x titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/6681
  5. Chris Barber 2015-03-02

    titanium_mobile_windows PR: https://github.com/appcelerator/titanium_mobile_windows/pull/149
  6. Ewan Harris 2015-03-03

    Reopening ticket as when using an SDK from the 4_0_X branch the node version is still *>0.8.0 <=0.10.x* Mac OSX 10.10.2 Appcelerator Studio, build: 4.0.0.201502171827 Titanium SDK build: 4.0.0.v20150227132702 Titanium CLI, build: 3.5.0-dev Alloy: 1.5.1 Node 0.12.0
  7. Pedro Enrique 2015-03-03

    titanium_mobile 4.0.X https://github.com/appcelerator/titanium_mobile/pull/6685
  8. Ewan Harris 2015-03-04

    Verified fix on: Mac OSX 10.10.2 Appcelerator Studio, build: 4.0.0.201502171827 Titanium SDK build: 3.5.1.v20150302121618, 4.0.0.v20150303161012, 4.1.0.v20150303153404 Titanium CLI, build: 3.5.0-dev Alloy: 1.5.1 Checked the relevant files for each SDK build, the node version in vendorDependencies is as expected. The CLI no longer gives any warnings for the SDKs. Closing ticket.

JSON Source