question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting an error at jpegtran

See original GitHub issue

I’m getting this error, looks like simillar to #16 :

ERROR in ./src/front/components/splash/splash-mobile.jpg
Module build failed: Error: spawn /home/admin/node/greatbytrain/node_modules/jpegtran-bin/vendor/jpegtran ENOENT
    at exports._errnoException (util.js:1036:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:359:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
 @ ./~/css-loader!./~/resolve-url-loader!./~/sass-loader!./src/front/components/splash/styles.scss 6:95-125

Ubuntu 12.04 node 6.7.0 npm 3.10.8

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
pavellozcommented, Oct 17, 2016

Please upgrade to 3.0.0 which uses mozjpeg – it should serve you much better 😃

1reaction
BrainBaconcommented, Oct 7, 2016

Looks like the postinstall hook was failing to run. I went into node_modules/jpegtran-bin and the vendor folder was missing. I then ran node lib/install.js and that populated vendor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node_modules/jpegtran-bin/vendor/jpegtran: Syntax error
Fixed by uninstalling node and then using the chris-lea/node.js repository instead $ cd / $ sudo apt-get remove nodejs.
Read more >
GnuWin / Discussion / Help: jpegtran error &quot ... - SourceForge
I'm trying to cut a large jpeg image on tiles, but getting "out of memory" exception. I tried -maxmemory option in different variations,...
Read more >
Error when Setting up Dev Environment Ubuntu 18.04 - Bahmni
I get the following error: > jpegtran-bin@0.1.7 postinstall /home/schadmin/Projects/bahmni/openmrs-module-bahmniapps/ui/node_modules/jpegtran-bin > node ...
Read more >
How To Fix Annoying Jpegtran.exe Errors [SOLVED] - Solvusoft
Jpegtran.exe problems are generally seen during free products program launch, and typically caused by executable file corruption, or in some cases if the...
Read more >
Error during installation process - Adapt Learning Community
Okay, now I get an different error - not sure why it says permission ... npm ERR! jpegtran-bin@5.0.2 postinstall: `node lib/install.js`
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found