Skip to content

Unhandled Promise Rejection Warning #38

@insuusvenerati

Description

@insuusvenerati

Hey I'm getting this error when trying to execute the function

gulp.task("image", () => { gulp.src("./site/static/img/*") .pipe(image({ guetzli: true, options: { guetzli: ["--quality", 85] } })) .pipe(gulp.dest("dist/img")); });

Another node module works so I know the directories are correct. The exact error is:
(node:10378) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): [object Object] (node:10378) [DEP0018] 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. (node:10378) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): [object Object]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions