{"action":"closed","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/700","repository_url":"https://api.github.com/repos/driftyco/ionic-cli","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/700/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/700/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/700/events","html_url":"https://github.com/driftyco/ionic-cli/issues/700","id":123344626,"number":700,"title":"ReferenceError: argv is not defined on \"ionic build\"","user":{"login":"mpatel99","id":3382388,"avatar_url":"https://avatars.githubusercontent.com/u/3382388?v=3","gravatar_id":"","url":"https://api.github.com/users/mpatel99","html_url":"https://github.com/mpatel99","followers_url":"https://api.github.com/users/mpatel99/followers","following_url":"https://api.github.com/users/mpatel99/following{/other_user}","gists_url":"https://api.github.com/users/mpatel99/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatel99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatel99/subscriptions","organizations_url":"https://api.github.com/users/mpatel99/orgs","repos_url":"https://api.github.com/users/mpatel99/repos","events_url":"https://api.github.com/users/mpatel99/events{/privacy}","received_events_url":"https://api.github.com/users/mpatel99/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic-cli/labels/needs_reply","name":"needs_reply","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-21T19:42:39Z","updated_at":"2016-05-09T16:29:47Z","closed_at":"2016-05-09T16:29:47Z","body":"I am trying to build ionic app for ios and android and getting reference error : argv is not defined\r\n\r\n\r\nionic app build android\r\n\r\nReferenceError: argv is not defined\r\n    at Object.IonicTask.get (/usr/local/lib/node_modules/ionic/lib/ionic/login.js:105:16)\r\n    at Object.IonicTask.run (/usr/local/lib/node_modules/ionic/lib/ionic/app.js:31:9)\r\n    at Object.run (/usr/local/lib/node_modules/ionic/lib/cli.js:95:32)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/ionic/bin/ionic:9:10)\r\n    at Module._compile (module.js:435:26)\r\n    at Object.Module._extensions..js (module.js:442:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:311:12)\r\n    at Function.Module.runMain (module.js:467:10)\r\n    at startup (node.js:136:18)\r\n\r\nargv is not defined (CLI v1.7.12)\r\n\r\nYour system information:\r\n\r\nCordova CLI: 5.4.1\r\nIonic Version: 1.2.1\r\nIonic CLI Version: 1.7.12\r\nIonic App Lib Version: 0.6.5\r\nios-deploy version: Not installed\r\nios-sim version: Not installed\r\nOS: Mac OS X El Capitan\r\nNode Version: v4.2.3\r\nXcode version: Xcode 7.2 Build version 7C68 "}}