Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"errorMessage": "spawn /var/task/node_modules/jpegoptim-bin/vendor/jpegoptim ENOENT", #15

Closed
rsurenderreddy opened this issue Jan 5, 2017 · 1 comment

Comments

@rsurenderreddy
Copy link

Hi i am using imagemin compression on aws lambda, with imagemin-jpegoptim plugin . i am getting below error.

"errorMessage": "spawn /var/task/node_modules/jpegoptim-bin/vendor/jpegoptim ENOENT",
"errorType": "Error",
"stackTrace": [
"exports._errnoException (util.js:870:11)",
"Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)",
"onErrorNT (internal/child_process.js:344:16)",
"nextTickCallbackWith2Args (node.js:437:9)",
"process._tickDomainCallback (node.js:392:17)"

can anyone help on this

@shinnn
Copy link
Contributor

shinnn commented Jan 6, 2017

ENOENT means jpegoptim binary was not correctly installed. Reinstall this plugin again.

@shinnn shinnn closed this as completed Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants