DeprecationWarning: Unhandled promise rejections are deprecated.
See original GitHub issueby @tkow from https://github.com/angular/angular-cli/pull/4385#issuecomment-280826566
However, I have another problem catch message says “An error occurred!” in node v.7.4.0. and details bellow.
(node:6042) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Unspecified error (run without silent option for detail)
(node:6042) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Please tell me how it cause to address, if there are someone feel not uncomfortable.I’ll try to downgrade node version.Then , I move to angular-buch/angular-cli-ghpages repository for this ploblem is not angular-cli.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
What is an unhandled promise rejection? - Stack Overflow
Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit...
Read more >A fix to the Unhandled Promise Rejection Warning - Medium
(node:7741) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will ...
Read more >Unhandled promise rejections are deprecated" · Issue #5311 ...
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not...
Read more >Node.js 15 release: Updated handling of rejections, npm 7, N ...
(rejection id: 1) (node:31727) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections ...
Read more >Unhandled Promise Rejections in Node.js - The Code Barbarian
The node process global has an unhandledRejection event for unhandled promise rejection. Bluebird also emits this event, so if you do global.
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 Free
Top 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

Dude, this command is supposed to do exactly this! To push to "any gh-pages branch on GitHub (or any other branch on any other remote). " 🤣
wow, so quickly, I love this. Thanks you so much, I don’t feel worry any more