Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15585] Tizen: Cannot find module adm-zip.js

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-10-29T18:02:33.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 22, 2013 Sprint 22 Core, Release 3.2.0
ComponentsTizen, Tooling
Labelsqe-3.2.0, qe-closed-3.2.0
ReporterLokesh Choudhary
AssigneeChris Barber
Created2013-10-25T21:33:04.000+0000
Updated2013-11-19T07:38:38.000+0000

Description

Description:

1.Install CLI 3.2.0 2.Download the mentioned ti sdk. 3.Build for android,IOS,Blackberry,Mobile web.

Actual Result:

1.We can't build for any platform & get following errors:
/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181
        throw e;
              ^
Error: Cannot find module '/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/node_modules/node-appc/node_modules/adm-zip/adm-zip.js'
    at Module._resolveFilename (module.js:338:15)
    at Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/tizen/cli/commands/_build.js:24:11)
    at Module._compile (module.js:456:26)
    at Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
---------------------------------------------
    at exports.execFile (child_process.js:691:9)
    at exports.exec (child_process.js:578:18)
    at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:64:4)
    at /usr/local/lib/node_modules/titanium/lib/titanium.js:79:2
    at Object.<anonymous> (/usr/local/lib/node_modules/titanium/lib/titanium.js:80:2)
    at Module._compile (module.js:456:26)
    at Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
2.It is caused because of some issues with the tizen sdk inside of ti sdk. 3.Removing tizen folder from the sdk & updating the manifest.json fixes the issue.

Expected Result:

1.We should be able to build for all platforms normally.

Comments

  1. Samuel Dowse 2013-11-19

    Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311160316 Titanium SDK, build: 3.2.0.v20131118142443 CLI: 3.2.0-alpha Alloy: 1.3.0 Projects can be built for all platforms through Studio and CLI Closing

JSON Source