Skip to content

Error: image.max is not a function #144

Open
@retan

Description

@retan

Usage of max configuration option causes an error image.max is not a function.
From what I can tell the error comes from sharp, and occurs because the max function was deprecated - see: https://sharp.pixelplumbing.com/changelog#v0210---4supthsup-october-2018

[15:39:56] Error in plugin "gulp-responsive"
Message:
    File `xxx.jpg`: image.max is not a function
Details:
    domainEmitter: [object Object]
    domainThrown: false

Stack:
    at DestroyableTransform.through2Handler [as _transform] (D:\...\node_modules\gulp-responsive\lib\index.js:98:14)

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