{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/282","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/282/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/282/events","html_url":"https://github.com/driftyco/ionic-cli/issues/282","id":59829945,"number":282,"title":"bug: Command failed with exit code 2 You may not have the required environment or OS to build this project","user":{"login":"adamdbradley","id":452425,"avatar_url":"https://avatars.githubusercontent.com/u/452425?v=3","gravatar_id":"","url":"https://api.github.com/users/adamdbradley","html_url":"https://github.com/adamdbradley","followers_url":"https://api.github.com/users/adamdbradley/followers","following_url":"https://api.github.com/users/adamdbradley/following{/other_user}","gists_url":"https://api.github.com/users/adamdbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/adamdbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamdbradley/subscriptions","organizations_url":"https://api.github.com/users/adamdbradley/orgs","repos_url":"https://api.github.com/users/adamdbradley/repos","events_url":"https://api.github.com/users/adamdbradley/events{/privacy}","received_events_url":"https://api.github.com/users/adamdbradley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":50,"created_at":"2015-03-04T17:17:10Z","updated_at":"2015-07-15T02:21:29Z","closed_at":null,"body":"_From @shivanshuit914 on March 3, 2015 19:15_\n\n**Type**: <span ionic-type>bug</span>\n\n**Platform**: <span ionic-platform>desktop</span>  <span ionic-webview>browser</span>\n\n<span ionic-description>> ionic build ios\n\nERROR building one of the platforms: Error: /Applications/MAMP/htdocs/myApp/platforms/ios/cordova/build: Command failed with exit code 2\nYou may not have the required environment or OS to build this project\nError: /Applications/MAMP/htdocs/myApp/platforms/ios/cordova/build: Command failed with exit code 2\n    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)\n    at ChildProcess.emit (events.js:98:17)\n    at maybeClose (child_process.js:756:16)\n    at Process.ChildProcess._handle.onexit (child_process.js:823:5)\n\nOS Mac Maverich, have followed this tutorial http://ionicframework.com/docs/guide/installation.html</span>\n\n<span is-issue-template></span>\n\n\n_Copied from original issue: driftyco/ionic#3225_"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/121460627","html_url":"https://github.com/driftyco/ionic-cli/issues/282#issuecomment-121460627","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/282","id":121460627,"user":{"login":"hnakhuva","id":11410199,"avatar_url":"https://avatars.githubusercontent.com/u/11410199?v=3","gravatar_id":"","url":"https://api.github.com/users/hnakhuva","html_url":"https://github.com/hnakhuva","followers_url":"https://api.github.com/users/hnakhuva/followers","following_url":"https://api.github.com/users/hnakhuva/following{/other_user}","gists_url":"https://api.github.com/users/hnakhuva/gists{/gist_id}","starred_url":"https://api.github.com/users/hnakhuva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hnakhuva/subscriptions","organizations_url":"https://api.github.com/users/hnakhuva/orgs","repos_url":"https://api.github.com/users/hnakhuva/repos","events_url":"https://api.github.com/users/hnakhuva/events{/privacy}","received_events_url":"https://api.github.com/users/hnakhuva/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T02:21:29Z","updated_at":"2015-07-15T02:21:29Z","body":"I'm all screwed up after updating cordova version.. to latest \"5.1.1\".. all my old \"ionic\" projects are not building now..\r\n\r\nI also tried downgrading cordova version to \"4.3.1\" .. but no luck.. get following error\r\n----\r\nBUILD FAILED\r\n/Users/hiren/Library/android/sdk/tools/ant/build.xml:601: The following error occurred while executing this line:\r\n/Users/hiren/Library/android/sdk/tools/ant/build.xml:720: The following error occurred while executing this line:\r\n/Users/hiren/Library/android/sdk/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.\r\n\r\nTotal time: 2 seconds\r\n\r\n/Users/hiren/Sites/lpl/platforms/android/cordova/node_modules/q/q.js:126\r\n                    throw e;\r\n                          ^\r\nError code 1 for command: ant with args: debug,-f,/Users/hiren/Sites/lpl/platforms/android/build.xml\r\nERROR building one of the platforms: Error: /Users/hiren/Sites/lpl/platforms/android/cordova/build: Command failed with exit code 8\r\nYou may not have the required environment or OS to build this project\r\nError: /Users/hiren/Sites/lpl/platforms/android/cordova/build: Command failed with exit code 8\r\n    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)\r\n    at ChildProcess.emit (events.js:98:17)\r\n    at maybeClose (child_process.js:756:16)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:823:5)\r\n----\r\n\r\nionic info \r\n----\r\n\r\nOS: Mac OS X Yosemite\r\nNode Version: v0.10.33\r\nCordova CLI: 4.3.1\r\nIonic Version: 1.0.0-rc.0\r\nIonic CLI Version: 1.3.19\r\nXcode version: Xcode 6.4 Build version 6E35b \r\nios-sim version: 3.1.1 \r\nios-deploy version: Not installed\r\n----\r\nI'm trying to build android platform btw..\r\n\r\nguyz.. any luck???"}}