{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/3469","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/3469/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/3469/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/3469/events","html_url":"https://github.com/driftyco/ionic/issues/3469","id":66218515,"number":3469,"title":"bug: For your info: EACCESS on adding platform with 1.0.0 rc2","user":{"login":"bitflower","id":6666636,"avatar_url":"https://avatars.githubusercontent.com/u/6666636?v=3","gravatar_id":"","url":"https://api.github.com/users/bitflower","html_url":"https://github.com/bitflower","followers_url":"https://api.github.com/users/bitflower/followers","following_url":"https://api.github.com/users/bitflower/following{/other_user}","gists_url":"https://api.github.com/users/bitflower/gists{/gist_id}","starred_url":"https://api.github.com/users/bitflower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitflower/subscriptions","organizations_url":"https://api.github.com/users/bitflower/orgs","repos_url":"https://api.github.com/users/bitflower/repos","events_url":"https://api.github.com/users/bitflower/events{/privacy}","received_events_url":"https://api.github.com/users/bitflower/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-03T19:58:25Z","updated_at":"2015-04-12T13:35:22Z","closed_at":null,"body":"**Type**: <span ionic-type>bug</span>\n\n**Platform**: <span ionic-platform>all</span>  \n\n<span ionic-description>Hi,\n\nI had to chmod -R +x hooks to be able to add platforms (in my case ios).\n\nJust in case anyone experiences similiar problems.\n\nCordova 4.3.0\nIONIC cli 1.3.19\n\nThe error was:\nRunning command: .../hooks/after_prepare/010_add_platform_class.js \nError: spawn EACCES\n    at exports._errnoException (util.js:746:11)\n    at ChildProcess.spawn (child_process.js:1155:11)\n    at Object.exports.spawn (child_process.js:988:9)\n    at Object.exports.spawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:100:31)\n    at runScriptViaChildProcessSpawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:188:23)\n    at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:131:16)\n    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:114:20\n    at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)\n    at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)\n    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)</span>\n\n<span is-issue-template></span>\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/92061783","html_url":"https://github.com/driftyco/ionic/issues/3469#issuecomment-92061783","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/3469","id":92061783,"user":{"login":"grillorafael","id":1812267,"avatar_url":"https://avatars.githubusercontent.com/u/1812267?v=3","gravatar_id":"","url":"https://api.github.com/users/grillorafael","html_url":"https://github.com/grillorafael","followers_url":"https://api.github.com/users/grillorafael/followers","following_url":"https://api.github.com/users/grillorafael/following{/other_user}","gists_url":"https://api.github.com/users/grillorafael/gists{/gist_id}","starred_url":"https://api.github.com/users/grillorafael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grillorafael/subscriptions","organizations_url":"https://api.github.com/users/grillorafael/orgs","repos_url":"https://api.github.com/users/grillorafael/repos","events_url":"https://api.github.com/users/grillorafael/events{/privacy}","received_events_url":"https://api.github.com/users/grillorafael/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T13:35:22Z","updated_at":"2015-04-12T13:35:22Z","body":"I was having the same issue but I ran ```chmod +x``` and everything worked fine"}}