Comments (3)
Hi @yitzhakbg, imagemin hasn't changed recently, so it's a bit of a mistery that it failed.
Can you try installing it manually and see if it solves it
$ npm install --save gulp-imagemin
from hugulp.
Perhaps a system issue. Running Ubuntu 15.10. Don’t worry. It’s not critical for now. BTW, kudos on the nice two part tutorial. Oh, and another thing, it doesn’t like already minified js script files
Best,
Yitzhak
After uninstall:
~/hugulp » npm install gulp-imagemin --save master ✗
npm WARN package.json [email protected] No repository field.
/
[email protected] postinstall /home/ybg/hugulp/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
node lib/install.js
Same thing:
~/hugulp » gulp master ✗
[11:20:57] Using gulpfile ~/hugulp/gulpfile.js
[11:20:57] Starting 'styles'...
[11:20:57] Starting 'scripts'...
[11:20:57] Starting 'images'...
[11:20:57] Starting 'svg'...
[11:20:57] Finished 'styles' after 63 ms
[11:20:57] Finished 'svg' after 46 ms
events.js:141
throw er; // Unhandled 'error' event
^
Error: spawn /home/ybg/hugulp/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/vendor/jpegtran ENOENT
at exports._errnoException (util.js:874:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:439:9)
at process._tickCallback (node.js:353:17)
On 26Oct, 2015, at 14:52, Juan B. Rodriguez [email protected] wrote:
npm install --save gulp-imagemin
from hugulp.
Ok, got it.
Hopefully is a system issue like you said.
Thanks for the kudos !
from hugulp.
Related Issues (20)
- Add docker support HOT 1
- having problem with reference task HOT 1
- Stuck in infinite loop on Ubuntu HOT 4
- UnCSS support HOT 3
- Source Map HOT 2
- Unable to minify Javascript error HOT 1
- HTML minifying HOT 1
- .hugulprc HOT 2
- Update code and variables
- Put all hard coded files/directories into an array
- Support .sass files in addition to .scss
- hugulp next HOT 1
- why doesn't 'watch' include autoprefixer? HOT 5
- CSS and JS not minified HOT 7
- JavaScript Concatenation? HOT 4
- Allow json extension for config file
- Update to Gulp 4 HOT 1
- Support for standardjs or custom eslint-config
- hugulp reprocesses images already compressed or optimized by hugulp HOT 1
- No stylesheets generated? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugulp.