Closed jcsrb closed 10 years ago
What does console.log(require('optipng-bin').path)
give you?
> console.log(require('optipng-bin').path)
/home/jakob/Dropbox/_OpenSourcePlayground/imagemin-optipng/node_modules/optipng-bin/vendor/optipng
But there's no binary in that folder, right? Check which version of bin-wrapper that's installed too.
yes, no binary and there is not even a vendor
folder, when I copy the binary over things work
Could you check which version of bin-wrapper that's installed?
npm list | grep bin-wrapper
│ │ ├─┬ bin-wrapper@0.2.4
│ │ ├─┬ bin-wrapper@0.2.4
│ │ ├─┬ bin-wrapper@0.3.2
├─┬ bin-wrapper@0.3.2
@jcsrb, try now! Should be fixed in https://github.com/kevva/bin-wrapper/commit/da7fe8b87a0aa31953a3fb5aa2aedf6bcaddcf14.
thank you, after updating bin-wrapper to 0.3.4
everything works
having
npm test
fails like this