Skip to content

[BUG] npm install is failing due to gifsicle #339

@shijujckl

Description

@shijujckl

I am getting below error while running npm install in 6.x version of emulsify sub theme with node version v24.3.0.
npm error code 1
npm error path /var/www/html/docroot/themes/custom/emulsify_6/node_modules/gifsicle
npm error command failed
npm error command sh -c node lib/install.js
npm error compiling from source
npm error Command failed: /var/www/html/docroot/themes/custom/emulsify_mars_6/node_modules/gifsicle/vendor/gifsicle --version
npm error /var/www/html/docroot/themes/custom/emulsify_6/node_modules/gifsicle/vendor/gifsicle: 1: ^?ELF^B^A^A^B: not found
npm error /var/www/html/docroot/themes/custom/emulsify_6/node_modules/gifsicle/vendor/gifsicle: 2: @8: not found
npm error /var/www/html/docroot/themes/custom/emulsify_6/node_modules/gifsicle/vendor/gifsicle: 3: Syntax error: ")" unexpected
npm error gifsicle pre-build test failed
npm error Error: Command failed: /bin/sh -c autoreconf -ivf
npm error /bin/sh: 1: autoreconf: not found
npm error at /var/www/html/docroot/themes/custom/emulsify_6/node_modules/bin-build/node_modules/execa/index.js:231:11
npm error at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
npm error at async Promise.all (index 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions