Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24627] Windows CLI: Build process errors out with Error: Cannot find module Error: Cannot find module 'titanium-sdk/lib/builder'

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2017-04-26T11:28:21.000+0000
Affected Version/sRelease 6.2.0
Fix Version/sRelease 6.2.0
ComponentsCLI, Tooling
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2017-04-25T21:51:10.000+0000
Updated2017-08-22T17:49:43.000+0000

Description

Description

When building using 6.2.0.v20170425075343 and building for Windows the build process will error out with Error: Cannot find module 'titanium-sdk/lib/builder'', titanium-sdk is now node-titanium-sdk the references in titanium_mobile_windows need updating https://github.com/appcelerator/titanium_mobile_windows/search?utf8=%E2%9C%93&q=titanium-sdk&type=

Steps to reproduce

ti sdk install -b master -d

Edit your tiapp.xml to use the SDK

Build your app ti build -p windows

Actual

Above error thrown

Expected

Build process should not error

Comments

  1. Ewan Harris 2017-04-25

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/984
  2. Samir Mohammed 2017-08-22

    Verified fix in SDK Version: 7.0.0.v20170821125551 and SDK Version: 6.2.0.v20170822080825 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/984 *Test Environement*
       APPC CLI 6.2.3
       Operating System:
       Name = Microsoft Windows 10 Pro
       Version = 10.0.14393
       Architecture = 32bit
       CPUs = 4
       Node.js:
       Node.js Version = 6.10.1
       

JSON Source