image_optim icon indicating copy to clipboard operation
image_optim copied to clipboard

svgo worker: didn't get version of svgo

Open dt1973 opened this issue 10 years ago • 3 comments

Pardon me if this isn't related, but I'm getting:

svgo worker: didn't get version of svgo ? at /usr/local/bin/svgo; please provide proper binary or disable this worker (--no-svgo argument or `:svgo => false` through options)

after doing npm install svgo here on FreeBSD.

% svgo -v
0.5.3

I'm trying to set up Discourse (https://github.com/discourse/discourse) which uses image_optim.

Patched this up temporarily by setting svgo: false in .image_optim.yml.

dt1973 avatar Jul 04 '15 11:07 dt1973

Could you check the output of which -a svgo and /usr/local/bin/svgo -v. By the message image_optim resolves svgo to /usr/local/bin/svgo and this binary does not return version as expected.

toy avatar Jul 04 '15 12:07 toy

Looks okay from here:

% which -a svgo
/usr/local/bin/svgo
% /usr/local/bin/svgo -v
0.5.3

dt1973 avatar Jul 04 '15 12:07 dt1973

What about image_optim --info?

toy avatar Jul 04 '15 16:07 toy