-
Notifications
You must be signed in to change notification settings - Fork 174
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
Fatal error: This socket is closed. #273
Comments
I just installed node v0.10.33 without updating npm and faced the same problem. And just by copying a folder "grunt-contrib-imagemin" from a working project, the problem was solved. |
+1 |
We have the same problem on some windows machines (works on linux and osx) - 64bit Windows 7, node v0.10.33. |
@Recchi Thanks |
@Recchi Pretty bizarre solution, but it worked... Thanks! |
Seems to be a problem with the jpgtran bin-wrapper, that avoids imagetran beeing installed properly. I've run imagemin without grunt and the error only occures when minimizing jpgs. Same problem is reported for the gulp tasks. So i guess, the the jpgtran guys are to blame... |
+1 Does anyone have a working copy of the files that they can share please? |
https://www.dropbox.com/s/nvq66bdwslhdnlf/grunt-contrib-imagemin.zip?dl=0 If it's still relevant. |
@Recchi thanks, it worked. |
@Recchi Thanks alot! |
@Recchi Lifesaver! |
+1 Thanks @Recchi |
@Recchi what if I do not have a project that uses this? I just installed this task and received this error. Should I pull it from the repo? |
Try to install a really old version. I've tried 7.0.2 as provided above and it worked. I had to install it via bower because i could not copy the neccessary files due to windows file name length limitations |
+1 also broken for me. I don't want to use 0.7.2 if I don't have to. The folder names in older versions go really deep in Windows and are a problem to delete. |
Guys, I don't know any other solution to this problem. In truth, it's more like a crutch than a solution. If you look above, I gave a link to a working folder. |
I've been trying to include imagemin in our boilerplate at work and there never seems to be a build that works on Win7. I'm having the same issue and considering throwing myself out of the window. :) Tried 0.7.2 with no joy. Any suggestions? EDIT: I just ran it with --verbose and got this: PNGLoading "imagemin.js" tasks...OK
Running "imagemin" task Running "imagemin:dynamic" (imagemin) task JPGLoading "imagemin.js" tasks...OK
Running "imagemin" task Running "imagemin:dynamic" (imagemin) task GIFLoading "imagemin.js" tasks...OK
Running "imagemin" task Running "imagemin:dynamic" (imagemin) task SVGSuccessful! |
Use 0.9.2. |
getting same error with 0.9.2 |
worked this way : npm install grunt-contrib-imagemin@0.9.2 --save-dev |
@Saturn2888 The deep folders are no problem to delete with |
+1 @Recchi |
So this morning for some bizarre reason this issue seems to only occur with this task. node v0.10.33 If i copy in the folder "grunt-contrib-imagemin" from another working project it seems to work fine, so i think its just when i went npm update --save-dev this morning that it messed things up.
The text was updated successfully, but these errors were encountered: