{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/2287","repository_url":"https://api.github.com/repos/driftyco/ionic-cli","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/2287/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/2287/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/2287/events","html_url":"https://github.com/driftyco/ionic-cli/issues/2287","id":228764645,"number":2287,"title":"Non zero exit with @ionic/cli-plugin-cordova causes CI environment failure","user":{"login":"admosity","id":4655972,"avatar_url":"https://avatars1.githubusercontent.com/u/4655972?v=3","gravatar_id":"","url":"https://api.github.com/users/admosity","html_url":"https://github.com/admosity","followers_url":"https://api.github.com/users/admosity/followers","following_url":"https://api.github.com/users/admosity/following{/other_user}","gists_url":"https://api.github.com/users/admosity/gists{/gist_id}","starred_url":"https://api.github.com/users/admosity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admosity/subscriptions","organizations_url":"https://api.github.com/users/admosity/orgs","repos_url":"https://api.github.com/users/admosity/repos","events_url":"https://api.github.com/users/admosity/events{/privacy}","received_events_url":"https://api.github.com/users/admosity/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-15T16:05:22Z","updated_at":"2017-05-15T20:24:55Z","closed_at":"2017-05-15T20:24:55Z","body":"\r\n#### Short description of the problem:\r\nI'm running unit tests in an environment (maintained by a corporate IT team) that I don't have control over. `npm install` is giving a non zero exit causing the CI testing pipeline to fail. They're running the following process  `npm install && whatever-else-scripts-go-here && other-script`.\r\n\r\n`npm install` causes \r\n\r\n![image](https://cloud.githubusercontent.com/assets/4655972/26061951/65aee794-3957-11e7-96fa-23f3ebe95a5b.png)\r\n\r\nIs there any way around this?\r\n\r\n#### What behavior are you expecting?\r\nExpect `npm install` to exit with 0. \r\n\r\n**Steps to reproduce:**\r\n`npm install` on fresh clone without ionic or cordova installed globally.\r\n\r\n**Post the output of `ionic info` below please**\r\nlocal packages:\r\n\r\n    @ionic/app-scripts              : 1.3.7\r\n    @ionic/cli-plugin-cordova       : 1.0.0\r\n    @ionic/cli-plugin-ionic-angular : 1.0.0\r\n    Ionic Framework                 : ionic-angular 3.2.0\r\n\r\n**Other information:** (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)\r\n\r\n#2015 #2103\r\n\r\nhttps://github.com/driftyco/ionic-cli/blob/master/packages/cli-plugin-cordova/bin/postinstall#L54\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/301593959","html_url":"https://github.com/driftyco/ionic-cli/issues/2287#issuecomment-301593959","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/2287","id":301593959,"user":{"login":"dwieeb","id":236501,"avatar_url":"https://avatars0.githubusercontent.com/u/236501?v=3","gravatar_id":"","url":"https://api.github.com/users/dwieeb","html_url":"https://github.com/dwieeb","followers_url":"https://api.github.com/users/dwieeb/followers","following_url":"https://api.github.com/users/dwieeb/following{/other_user}","gists_url":"https://api.github.com/users/dwieeb/gists{/gist_id}","starred_url":"https://api.github.com/users/dwieeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwieeb/subscriptions","organizations_url":"https://api.github.com/users/dwieeb/orgs","repos_url":"https://api.github.com/users/dwieeb/repos","events_url":"https://api.github.com/users/dwieeb/events{/privacy}","received_events_url":"https://api.github.com/users/dwieeb/received_events","type":"User","site_admin":false},"created_at":"2017-05-15T20:24:55Z","updated_at":"2017-05-15T20:24:55Z","body":"There's an environment variable you can set in your CI servers: https://github.com/driftyco/ionic-cli/blob/master/packages/cli-plugin-cordova/bin/postinstall#L5\r\n\r\nI added it to the message to make this clearer: https://github.com/driftyco/ionic-cli/commit/fca165958bfb0f5d10a82787c5066c2bd26fcf67\r\n\r\nThanks"}}
{"actor":{"display_login":"dwieeb"}}