Getting an error at jpegtran
See original GitHub issueI’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:
- Created 7 years ago
- Comments:11 (4 by maintainers)
Top 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 " ... - 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please upgrade to 3.0.0 which uses mozjpeg – it should serve you much better 😃
Looks like the postinstall hook was failing to run. I went into
node_modules/jpegtran-bin
and thevendor
folder was missing. I then rannode lib/install.js
and that populatedvendor
.