couchbase / couchbase/docs-ui

gulp-imagemin: Couldn't load default plugin "gifsicle" and "optipng"

Open
#197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
2
Forks
20
PR merge metrics
No merged PRs in 30d

Description

When I run the gulp bundle command, I encounter the following error. How can I fix it?

  • node: v24.13.0
  • Antora: 11.6.2
[12:00:23] gulp-imagemin: Couldn't load default plugin "gifsicle"
[12:00:23] gulp-imagemin: Couldn't load default plugin "optipng"
(node:6964) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
[12:00:25] 'build' errored after 1.66 s
[12:00:25] TypeError in plugin "gulp-imagemin"
Message:
    fn is not a function
Details:
    fileName: C:\Users\yangx\Desktop\my-docs-ui\src\img\logo.png
    domainEmitter: [object Object]
    domainThrown: fals

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing gulp bundle with Node v24.13.0 and inspect the gulp-imagemin integration that processes src/img/logo.png. Investigate the default-plugin loading errors for gifsicle and optipng, then confirm that the build completes without the fn is not a function failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.