Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1749] Can not build with simple download, build and run

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-06-11T19:12:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRob Rightmyer
AssigneeMauro Parra-Miranda
Created2013-06-11T18:42:28.000+0000
Updated2016-03-08T07:40:38.000+0000

Description

[ERROR] :  TypeError: Arguments to path.join must be strings
    at path.js:360:15
    at Array.filter (native)
    at exports.join (path.js:358:36)
    at exports.detect (/Users/robrightmyer/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/node-appc/lib/android.js:40:30)
    at /Users/robrightmyer/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/cli/commands/_build.js:28:11
    at /Users/robrightmyer/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/titanium-sdk/lib/titanium.js:105:5
    at /Users/robrightmyer/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/async/lib/async.js:454:21
    at /Users/robrightmyer/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/async/lib/async.js:185:13
    at /Users/robrightmyer/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/async/lib/async.js:86:13
    at Array.forEach (native)
---------------------------------------------
    at exports.execFile (child_process.js:656:9)
    at exports.exec (child_process.js:543:18)
    at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:53:4)
    at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:60:3)
    at /usr/local/lib/node_modules/titanium/lib/titanium.js:83:3
    at Object.<anonymous> (/usr/local/lib/node_modules/titanium/lib/titanium.js:85:3)
    at Module._compile (module.js:456:26)
    at Module._extensions..js (module.js:474:10)
[ERROR] Unable to find command "build"

Comments

  1. Daniel Sefton 2013-06-11

    Hi Rob, Please check your node.js version. Titanium only supports 0.8.x for now. You can check your node.js version by running this in Terminal:
    node -v
    If installing node.js 0.8 still doesn't fix the issue (it should), we need you to attach your log file and diagnostic found at Help -> Studio -> View Log File & Run Diagnostic Test.

JSON Source