GithubHelp home page GithubHelp logo

Comments (8)

thealiyasar avatar thealiyasar commented on May 27, 2024 7

I solved this problem by downgrading.

npm install --save-dev [email protected]

Stay happy.

from gulp-imagemin.

thealiyasar avatar thealiyasar commented on May 27, 2024

same problem...

from gulp-imagemin.

weilinzung avatar weilinzung commented on May 27, 2024

I solved this problem by downgrading.

npm install --save-dev [email protected]

Stay happy.

With lately m1 chip we got fn is not a function with 7.1

from gulp-imagemin.

wang-xiaowu avatar wang-xiaowu commented on May 27, 2024

same question, but v7.1.0 is working
my computer's version

处理器	AMD Ryzen 7 4800U with Radeon Graphics            1.80 GHz
机带 RAM	16.0 GB (15.4 GB 可用)
系统类型	64 位操作系统, 基于 x64 的处理器

from gulp-imagemin.

meacodes avatar meacodes commented on May 27, 2024

I solved this problem by downgrading.

npm install --save-dev [email protected]

Stay happy.

it's work for me to. thanks

from gulp-imagemin.

Luneldevwb avatar Luneldevwb commented on May 27, 2024

Thanks, it's work for me.

from gulp-imagemin.

skeddles avatar skeddles commented on May 27, 2024

[email protected] has a security issue listed by npm audit

trim-newlines  <3.0.1
Severity: high
Uncontrolled Resource Consumption in trim-newlines - https://github.com/advisories/GHSA-7p7h-4mm5-852v

perhaps the maintainer could create a separate branch for version 7 so we could update it?

from gulp-imagemin.

theamnesic avatar theamnesic commented on May 27, 2024

Hi!

Same here, I need help I can't make v8 works...

I can't find documentation except this.

My code doesn't return error but do not compile images :

function images(cb) {
  async () => {
    imagemin = await import('gulp-imagemin');
  },
  () => src([paths.images + '**/*'])
    .pipe(imagemin.default([
      imagemin.gifsicle({interlaced: true}),
      imagemin.mozjpeg({progressive: true}),
      imagemin.optipng({optimizationLevel: 5}),
    ]))
    .pipe(dest(paths.assets + paths.images))
    .pipe(livereload());
    cb();
}

exports.default = series(
  images,
);

Thanks!

from gulp-imagemin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.