{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3385","repository_url":"https://api.github.com/repos/ionic-team/ionic-cli","labels_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3385/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3385/comments","events_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3385/events","html_url":"https://github.com/ionic-team/ionic-cli/issues/3385","id":344055074,"node_id":"MDU6SXNzdWUzNDQwNTUwNzQ=","number":3385,"title":"ionic cordova resources crashing (ERR_STREAM_DESTROYED)","user":{"login":"carstenbaumhoegger","id":4333261,"node_id":"MDQ6VXNlcjQzMzMyNjE=","avatar_url":"https://avatars0.githubusercontent.com/u/4333261?v=4","gravatar_id":"","url":"https://api.github.com/users/carstenbaumhoegger","html_url":"https://github.com/carstenbaumhoegger","followers_url":"https://api.github.com/users/carstenbaumhoegger/followers","following_url":"https://api.github.com/users/carstenbaumhoegger/following{/other_user}","gists_url":"https://api.github.com/users/carstenbaumhoegger/gists{/gist_id}","starred_url":"https://api.github.com/users/carstenbaumhoegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carstenbaumhoegger/subscriptions","organizations_url":"https://api.github.com/users/carstenbaumhoegger/orgs","repos_url":"https://api.github.com/users/carstenbaumhoegger/repos","events_url":"https://api.github.com/users/carstenbaumhoegger/events{/privacy}","received_events_url":"https://api.github.com/users/carstenbaumhoegger/received_events","type":"User","site_admin":false},"labels":[{"id":846421799,"node_id":"MDU6TGFiZWw4NDY0MjE3OTk=","url":"https://api.github.com/repos/ionic-team/ionic-cli/labels/triage","name":"triage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-07-24T14:10:35Z","updated_at":"2018-07-28T11:55:45Z","closed_at":null,"author_association":"NONE","body":"**Description:**\r\n<!-- Please describe the problem you're having. -->\r\nWhen trying to generate the appropriate resources to build a project, `ionic cordova resources` does crash in the generation process.\r\n\r\n\r\n**Steps to Reproduce:**\r\n<!--\r\nIf applicable, the best way to illustrate the bug is with an example repo.\r\nOtherwise, please describe in detail how to replicate the issue.\r\n-->\r\nCall `ionic cordova resources` inside an Ionic 4 project.\r\n\r\n\r\n\r\n**Output:**\r\n<!--\r\nIf applicable, please post the full output of the command that errored.\r\nRemember to run commands with the --verbose flag for debug statements.\r\n-->\r\n```\r\nionic cordova resources                                                                                                                                                                      \r\n✔ Collecting resource configuration and source images - done!\r\n✔ Filtering out image resources that do not need regeneration - done!\r\n✔ Uploading source images to prepare for transformations: 2 / 2 complete - done!\r\n✖ Generating platform resources: 3 / 25 complete - failed!\r\nError [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed\r\n\r\n    at doWrite (_stream_writable.js:406:19)\r\n    at clearBuffer (_stream_writable.js:540:7)\r\n    at onwrite (_stream_writable.js:465:7)\r\n    at fs.write (fs.js:2284:5)\r\n    at FSReqWrap.wrapper [as oncomplete] (fs.js:645:5)\r\n⠏ Generating platform resources: 7 / 25 complete\r\n```\r\n\r\n**My `ionic info`:**\r\n<!--\r\nPost the output of running `ionic info` (within your project, if applicable)\r\nbelow. `ionic info` is a CLI command that prints out environment information.\r\n-->\r\n\r\n```\r\nIonic:\r\n\r\n   ionic (Ionic CLI)          : 4.0.0-rc.11 (/usr/local/lib/node_modules/ionic)\r\n   Ionic Framework            : @ionic/angular 4.0.0-alpha.11\r\n   @angular-devkit/core       : 0.7.0-rc.1\r\n   @angular-devkit/schematics : 0.7.0-rc.1\r\n   @angular/cli               : 6.0.8\r\n   @ionic/ng-toolkit          : 1.0.0-rc.11\r\n   @ionic/schematics-angular  : 1.0.0-rc.11\r\n\r\nCordova:\r\n\r\n   cordova (Cordova CLI) : 8.0.0\r\n   Cordova Platforms     : android 7.0.0 ios 4.5.4\r\n\r\nSystem:\r\n\r\n   NodeJS : v10.4.1 (/usr/local/bin/node)\r\n   npm    : 6.2.0\r\n   OS     : macOS High Sierra\r\n   Xcode  : Xcode 9.4.1 Build version 9F2000\r\n\r\nEnvironment:\r\n\r\n   ANDROID_HOME : not set\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/comments/408602208","html_url":"https://github.com/ionic-team/ionic-cli/issues/3385#issuecomment-408602208","issue_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3385","id":408602208,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODYwMjIwOA==","user":{"login":"arjha","id":30006582,"node_id":"MDQ6VXNlcjMwMDA2NTgy","avatar_url":"https://avatars1.githubusercontent.com/u/30006582?v=4","gravatar_id":"","url":"https://api.github.com/users/arjha","html_url":"https://github.com/arjha","followers_url":"https://api.github.com/users/arjha/followers","following_url":"https://api.github.com/users/arjha/following{/other_user}","gists_url":"https://api.github.com/users/arjha/gists{/gist_id}","starred_url":"https://api.github.com/users/arjha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjha/subscriptions","organizations_url":"https://api.github.com/users/arjha/orgs","repos_url":"https://api.github.com/users/arjha/repos","events_url":"https://api.github.com/users/arjha/events{/privacy}","received_events_url":"https://api.github.com/users/arjha/received_events","type":"User","site_admin":false},"created_at":"2018-07-28T11:55:45Z","updated_at":"2018-07-28T11:55:45Z","author_association":"NONE","body":"Had same problem, but after running  @DatScreamer suggested command it worked fine. "}}
{"actor":{"display_login":"arjha"}}