Failed at the gifsicle@4.0.1 postinstall script
danvoyce opened this issue · comments
I'm using imagemin in my Webpack build. It works well locally, but when I deploy it fails in my pipeline:
(node:52) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
⚠ Command failed: /root/project/node_modules/gifsicle/vendor/gifsicle --version
Error relocating /root/project/node_modules/gifsicle/vendor/gifsicle: __rawmemchr: symbol not found
Any ideas?
I have the same problem
I'm also facing the same problem, works fine on local but fails in the pipeline.
> gifsicle@4.0.1 postinstall /app/node_modules/gifsicle
> node lib/install.js
⚠ spawn /app/node_modules/gifsicle/vendor/gifsicle ENOENT
⚠ gifsicle pre-build test failed
ℹ compiling from source
✖ Error: Command failed: /bin/sh -c autoreconf -ivf
/bin/sh: autoreconf: not found
at /app/node_modules/bin-build/node_modules/execa/index.js:231:11
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Promise.all (index 0)
Please try the newest version and install autoreconf
or prepare the dependencies related to gifsicle.
I have the same problem
same issue