Project: titanium
Issue TIMOB-19340: Cannot create projects; invalid --platforms value
When trying to create a project with the below command I get the error in the *Notes* section: {{Invalid "--platforms" value "android,ios,mobileweb"}} {code} "/usr/local/bin/appcelerator" "new" "--platforms" "android,ios,mobileweb" "--sdk" "4.2.0.v20150807112024" "--force" "--no-services" {code} *Steps to reproduce issue* 1. Set your active SDK to 4.2.0.v20150805163626 or later (I used 4.2.0.v20150807112024) 2. Run {{appc new --platforms "android,ios,mobileweb"}} 3. Create a Native App *Actual Results* The creation will fail with the below error *Expected Results* I can create projects without error *Notes* This blocks projects from being created in Studio. I encounter this with SDKs 4.2.0.v20150805163626 and later. {code} /usr/local/bin/node [ '/Users/ewieber/.appcelerator/install/4.2.0-24/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium', 'create', '-t', 'app', '--no-banner', '--no-prompt', '--platforms', 'android,ios,mobileweb', '--workspace-dir', '/Users/ewieber/Documents/Appcelerator_Studio_Workspace', '--force', true, '--log-level', 'trace', '--name', 'createTest', '--id', 'com.appc.createtest', '--project-dir', '/Users/ewieber/Documents/Appcelerator_Studio_Workspace/createTest', '--url', 'unspecified' ] Invalid "--platforms" value "android,ios,mobileweb" done with plugin [Error: titanium exited with non-zero exit code (1)] ERROR | Error: titanium exited with non-zero exit code (1) at ChildProcess. (/Users/ewieber/.appcelerator/install/4.2.0-24/package/node_modules/appc-cli-titanium/plugins/new.js:191:21) at ChildProcess.emit (events.js:98:17) at Process.ChildProcess._handle.onexit (child_process.js:820:12) appc:run signal received +35s exit sending to { domain: null, _events: { close: [Function] }, _maxListeners: 10, _closesNeeded: 1, _closesGot: 1, connected: false, signalCode: null, exitCode: 1, killed: false, _handle: null, pid: 27841, stdin: null, stdout: null, stderr: null, stdio: [ null, null, null ] } {code}
Story points: 3