ionic cordova resources crashing (ERR_STREAM_DESTROYED)
See original GitHub issueDescription:
When trying to generate the appropriate resources to build a project, ionic cordova resources
does crash in the generation process.
Steps to Reproduce:
Call ionic cordova resources
inside an Ionic 4 project.
Output:
ionic cordova resources
✔ Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
✔ Uploading source images to prepare for transformations: 2 / 2 complete - done!
✖ Generating platform resources: 3 / 25 complete - failed!
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:406:19)
at clearBuffer (_stream_writable.js:540:7)
at onwrite (_stream_writable.js:465:7)
at fs.write (fs.js:2284:5)
at FSReqWrap.wrapper [as oncomplete] (fs.js:645:5)
⠏ Generating platform resources: 7 / 25 complete
My ionic info
:
Ionic:
ionic (Ionic CLI) : 4.0.0-rc.11 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-alpha.11
@angular-devkit/core : 0.7.0-rc.1
@angular-devkit/schematics : 0.7.0-rc.1
@angular/cli : 6.0.8
@ionic/ng-toolkit : 1.0.0-rc.11
@ionic/schematics-angular : 1.0.0-rc.11
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0 ios 4.5.4
System:
NodeJS : v10.4.1 (/usr/local/bin/node)
npm : 6.2.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Environment:
ANDROID_HOME : not set
Issue Analytics
- State:
- Created 5 years ago
- Comments:23 (7 by maintainers)
Top Results From Across the Web
Ionic cordova resources –force not working
On add android/iOS platform or run ionic cordova resources --force this not is completed, always continue stopped in Generating platform ...
Read more >ionic cordova resources
Generate perfectly-sized icons and splash screens from PNG source images for your Cordova platforms. Automatically create icons with Ionic Cordova ...
Read more >Generate App Icon and Splash Screen Images for Ionic ...
Generate perfectly sized icons and splash screens from PNG source images for your Cordova platforms with this command. The source image for icons...
Read more >App Center Crashes for Apache Cordova
Generate a test crash Your Cordova app needs to be compiled in release mode for this crash to be sent to App Center....
Read more >Safari Web Inspector Crash when debugging Ionic Cordova App
Ionic Framework: Safari Web Inspector Crash when debugging Ionic Cordova App.⭐ Kite is a free AI-powered coding assistant that will help ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Had the same issue with v4.0.1 but when I ran
npm i -g ionic@4.1.0-testing.458303e0
and it worked flawlessly.Thank you all for testing the
4.1.0-testing.458303e0
version. 💪 The fix will be in4.0.2
when this gets merged: https://github.com/ionic-team/ionic-cli/pull/3429