{"action":"opened","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/5252","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/5252/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/5252/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/5252/events","html_url":"https://github.com/driftyco/ionic/issues/5252","id":129898135,"number":5252,"title":"bug: Cannot use 'ionic build ios' after cordova update","user":{"login":"bandojulio","id":7102230,"avatar_url":"https://avatars.githubusercontent.com/u/7102230?v=3","gravatar_id":"","url":"https://api.github.com/users/bandojulio","html_url":"https://github.com/bandojulio","followers_url":"https://api.github.com/users/bandojulio/followers","following_url":"https://api.github.com/users/bandojulio/following{/other_user}","gists_url":"https://api.github.com/users/bandojulio/gists{/gist_id}","starred_url":"https://api.github.com/users/bandojulio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bandojulio/subscriptions","organizations_url":"https://api.github.com/users/bandojulio/orgs","repos_url":"https://api.github.com/users/bandojulio/repos","events_url":"https://api.github.com/users/bandojulio/events{/privacy}","received_events_url":"https://api.github.com/users/bandojulio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/v1","name":"v1","color":"888888"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-29T22:18:39Z","updated_at":"2016-01-29T22:18:39Z","closed_at":null,"body":"**Type**: <span ionic-type>bug</span>\n\n**Ionic Version**: <span ionic-version>1.x</span>\n\n**Platform**: <span ionic-platform>ios</span> <span ionic-platform-version>9</span>  <span ionic-webview>webview</span>\n\n<span ionic-description>After I updated cordova from 5.4.0 to 6.0.0, I am unable to run the command \"ionic build ios\". It shows the error:\n\nmodule.js:339\n    throw err;\n    ^\n\nError: Cannot find module 'sax'\n    at Function.Module._resolveFilename (module.js:337:15)\n    at Function.Module._load (module.js:287:25)\n    at Module.require (module.js:366:17)\n    at require (module.js:385:17)\n    at Object.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/elementtree/lib/parsers/sax.js:3:11)\n    at Module._compile (module.js:425:26)\n    at Object.Module._extensions..js (module.js:432:10)\n    at Module.load (module.js:356:32)\n    at Function.Module._load (module.js:311:12)\n    at Module.require (module.js:366:17)\n\nBefore this it was working fine.</span>\n\n<span is-issue-template></span>\n"}}