Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

jpegtran exited with code 2 #62

Closed
leifdalan opened this issue Feb 7, 2014 · 1 comment
Closed

jpegtran exited with code 2 #62

leifdalan opened this issue Feb 7, 2014 · 1 comment

Comments

@leifdalan
Copy link

I'm having an issue while trying to deploy on heroku. Locally it's fine (with the 'production' option set to both true and false). When the app starts on Heroku, I get the following:

2014-02-07T05:54:31.980572+00:00 app[web.1]: { task: 'express-cdn', message: 'jpegtran exited with code 2' }
2014-02-07T05:54:31.981818+00:00 app[web.1]: 
2014-02-07T05:54:31.982421+00:00 app[web.1]: /app/node_modules/express-cdn/lib/main.js:33
2014-02-07T05:54:31.982739+00:00 app[web.1]:   throw new Error('CDN: ' + msg);
2014-02-07T05:54:31.982935+00:00 app[web.1]:         ^
2014-02-07T05:54:31.986097+00:00 app[web.1]: Error: CDN: /app/node_modules/express-cdn/node_modules/jpegtran-bin/vendor/jpegtran: 1: Syntax error: "(" unexpected

Any thoughts?

@niftylettuce
Copy link
Collaborator

I'm guessing something up with Heroku. Check the dependencies of jpegtran-bin module to see if you need some dependencies installed on Heroku. Also check other similar issues here on Github perhaps? I've never seen this before.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants