{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/6735","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/6735/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/6735/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/6735/events","html_url":"https://github.com/driftyco/ionic/issues/6735","id":158145940,"number":6735,"title":"Error when trying to build or run on iOS","user":{"login":"norenma","id":3660359,"avatar_url":"https://avatars.githubusercontent.com/u/3660359?v=3","gravatar_id":"","url":"https://api.github.com/users/norenma","html_url":"https://github.com/norenma","followers_url":"https://api.github.com/users/norenma/followers","following_url":"https://api.github.com/users/norenma/following{/other_user}","gists_url":"https://api.github.com/users/norenma/gists{/gist_id}","starred_url":"https://api.github.com/users/norenma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norenma/subscriptions","organizations_url":"https://api.github.com/users/norenma/orgs","repos_url":"https://api.github.com/users/norenma/repos","events_url":"https://api.github.com/users/norenma/events{/privacy}","received_events_url":"https://api.github.com/users/norenma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/platform:ios","name":"platform:ios","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-02T13:52:11Z","updated_at":"2016-06-02T15:22:01Z","closed_at":"2016-06-02T15:22:01Z","body":"When doing \"ionic run ios\": \r\n```\r\nCaught exception:\r\n TypeError: Cannot read property 'slice' of undefined\r\n    at Object.run (/Users/Markus/.npm-packages/lib/node_modules/ionic/lib/ionic/run.js:44:32)\r\n    at Promise.apply (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:1078:26)\r\n    at Promise.promise.promiseDispatch (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:741:41)\r\n    at /Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:1304:14\r\n    at flush (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:108:17)\r\n    at nextTickCallbackWith0Args (node.js:420:9)\r\n    at process._tickCallback (node.js:349:13)\r\n```\r\n\r\nAnd when \"ionic build ios\"\r\n\r\n```\r\nCaught exception:\r\n TypeError: Cannot read property 'slice' of undefined\r\n    at Object.run (/Users/Markus/.npm-packages/lib/node_modules/ionic/lib/ionic/build.js:29:32)\r\n    at Promise.apply (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:1078:26)\r\n    at Promise.promise.promiseDispatch (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:741:41)\r\n    at /Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:1304:14\r\n    at flush (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:108:17)\r\n    at nextTickCallbackWith0Args (node.js:420:9)\r\n    at process._tickCallback (node.js:349:13)\r\n```\r\n\r\nTried using sudo, with the same result. \r\n\r\nThanks in advance, \r\nMarkus \r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/223325763","html_url":"https://github.com/driftyco/ionic/issues/6735#issuecomment-223325763","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/6735","id":223325763,"user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T15:22:01Z","updated_at":"2016-06-02T15:22:01Z","body":"Hello, thanks for opening an issue with us! Very sorry you ran into this issue! It is fixed in the release of the ionic-cli we did this morning, so you just need to update your ionic cli by running `npm install -g ionic@beta` and the issue will be gone (: Thanks for using Ionic!"}}
{"actor":{"display_login":"jgw96"}}