Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 20): Error: Error in file: E:/path/xxx.jpg #24

Open
summit2020 opened this issue Apr 13, 2017 · 4 comments

Comments

@summit2020
Copy link

summit2020 commented Apr 13, 2017

Throwing exception for few images ?

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 20): Error: Error in file: E:/path/xxx.jpg

Release Version - 6.0.0

@usamamashkoor
Copy link

Facing the same issue did you find any solution...?

@summit2020
Copy link
Author

summit2020 commented Jul 14, 2018 via email

@usamamashkoor
Copy link

Use imagemin-mozjpeg 6.0.0 version instead of 7.0.0

Maybe it fix the issue for you.

@usamamashkoor
Copy link

also use catch block after the .then block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants