GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-03-04T00:10:34.000+0000 |
Affected Version/s | Release 3.5.1, Release 4.0.0 |
Fix Version/s | Release 3.5.1, Release 4.0.0 |
Components | Android, BlackBerry, iOS, MobileWeb, Windows, Windows Hybrid |
Labels | qe-3.5.1 |
Reporter | Ewan Harris |
Assignee | Pedro Enrique |
Created | 2015-03-02T19:11:00.000+0000 |
Updated | 2015-03-04T00:39:31.000+0000 |
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",*
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.
Also need to update https://github.com/appcelerator/titanium_mobile_windows/blob/master/package.json.
PR for titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/6680
PR for 3.5.x titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/6681
titanium_mobile_windows PR: https://github.com/appcelerator/titanium_mobile_windows/pull/149
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
titanium_mobile 4.0.X https://github.com/appcelerator/titanium_mobile/pull/6685
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.