imagemin / mozjpeg-bin

mozjpeg bin-wrapper that makes it seamlessly available as a local dependency

Home Page:https://github.com/mozilla/mozjpeg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FYI: when beeing installed, doesn't make vendor folder

japrescott opened this issue · comments

after installation, I got the error;
node_modules/mozjpeg-stream/node_modules/mozjpeg/vendor/cjpeg ENOENT

I had to manually call the install.js file
node node_modules/mozjpeg-stream/node_modules/mozjpeg/lib/install.js

after that, mozjpeg can be used.

Thought I'd let the community know..

This is a bin-build issue.

I have the same problem bu I can't launch the node node_modules/mozjpeg-stream/node_modules/mozjpeg/lib/install.js because I'm in docker container. Why it does not works ? mozjpeg require a dependance ?