-
Notifications
You must be signed in to change notification settings - Fork 307
Receive "UnhandledPromiseRejectionWarning" error in ionic serve #590
Comments
I'm seeing this too. It makes the current version of app-scripts unusable, as the build does not complete. It happens to me after the first time I save a file. |
This seems to come and go. Now it's working, but it wasn't earlier today. |
@codisms, are you writing on a new blank ionic project? What does your ionic info look like? Mine isn't solved yet. =( |
No, it's not blank, and I didn't do anything for it to have changed. It just started working. Will comment should it stop again, but I wouldn't consider it closed. |
I dont know if its releted but ive seen this a couple of times when starting a ionic serve -b and changing a file before i have refreshed a existing browser tab to connect it to a new serve. |
I see this too on version 0.0.48 and I also get |
I am also getting this when doing "ionic build browser" using: ordova CLI: 6.4.0 Build output:
keywords if/then/else require v5 option Running command: cmd "/s /c "C:\Bitnami\wampstack-5.6.22-0\apps\sc-metronome\platforms\browser\cordova\build.bat"" Cleaning Browser project |
Figured this one out, thanks to some comments in #599. This happens to me when I don't have a browser open with the app loaded. PR submitted which fixes the issue. |
This should be fixed now. Will be published tomorrow in Please let me know if it's not. Thanks, |
"npm update" may solve this problem |
I got this error now,
some output then (node:67507) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: channel closed |
I'm also getting this with ionic update after ionic config set -g backend legacy. Can't seem to get my app to work in ionic view any more either. @ionic/app-scripts : 2.1.4. I think the ionic config logged me out of the normal app.ionic.io account. As soon as I logged back in and did ionic link it worked. System to upload yesterday was flaky. Could not get anything working with new pro or old system. |
Hello guys, i had the same issue and i fixed it with these commands:
|
Worked for me :
|
this command worked for me, Thank you |
Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
After running
ionic serve
, when modifying a file, I receive aUnhandledPromiseRejectionWarning
error.What behavior are you expecting?
The change should be detected, any SASS or TypeScript files should be recompiled, and the page reloaded (if livereload is active).
Steps to reproduce:
ionic serve
on a working project.Which @ionic/app-scripts version are you using?
0.0.48
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Full output:
The text was updated successfully, but these errors were encountered: