Closed kenetik closed 9 years ago
This was probably caused by having GNU find in the $PATH
ahead of the one that ships with OSX.
I'm seeing the same thing. I installed via yarn, and am on Ubuntu Studio.
> $(yarn bin)/imageOptim --version
1.15.4
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
> $(yarn bin)/imageOptim --directory path/to/images
~/my/path/node_modules/.bin/imageOptimBashLib: line 461: osascript: command not found
~/my/path/node_modules/.bin/imageOptimBashLib: line 465: osascript: command not found
~/my/path/node_modules/.bin/imageOptim: line 74: osascript: command not found
~/my/path/node_modules/.bin/imageOptimBashLib: line 469: osascript: command not found
find: unknown predicate `-E'
ImageOptim-CLI is a macOS app. It does not work on Ubuntu.