[TIMOB-24626] CLI: Build process errors out with Error: Cannot find module '../node-titanium-sdk/lib/titanium'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-04-27T20:25:55.000+0000 |
Affected Version/s | Release 6.2.0 |
Fix Version/s | Release 6.2.0 |
Components | CLI, Tooling |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2017-04-25T21:01:42.000+0000 |
Updated | 2017-05-26T13:28:59.000+0000 |
Description
Description
When building using 6.2.0.v20170425075343 the build process will error out withError: Cannot find module '../node-titanium-sdk/lib/titanium'
, the path used is in the hack is wrong https://github.com/appcelerator/titanium_mobile/blob/3f6ce6d1b20d89a3aa97b4703dccf4e872dd77d2/node_modules/titanium-sdk/lib/titanium.js#L1
PR: https://github.com/appcelerator/titanium_mobile/pull/8994
I was able to verify this fix using the following environment; iPhone 7 Simulator (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705021158 Ti SDK 6.2.0.v20170526055219 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.7.0_80