One-com/assetgraph-builder — Issue #2: Strange errors when missing dependencies
Author: msiebuhr
Created: 2011-11-14 09:54:09+00:00
State: open

When forgetting to install all the dependencies to run assetgraph (say, `pngquant`), it results in a `Error: EPIPE, Broken Pipe`:

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: EPIPE, Broken pipe
at Socket._writeImpl (net.js:159:14)
at Socket._writeOut (net.js:444:25)
at Socket.write (net.js:377:17)
at pipeThroughChildProcessAndBuffer (.../node_modules/assetgraph-builder/node_modules/assetgraph/lib/transforms/postProcessBackgroundImages.js:22:24)
at .../node_modules/assetgraph-builder/node_modules/assetgraph/lib/transforms/postProcessBackgroundImages.js:42:13
at proceed (.../node_modules/assetgraph-builder/node_modules/assetgraph/lib/transforms/postProcessBackgroundImages.js:103:13)
at applyFilters (.../node_modules/assetgraph-builder/node_modules/assetgraph/lib/transforms/postProcessBackgroundImages.js:111:5)
at Function. (.../node_modules/assetgraph-builder/node_modules/assetgraph/lib/transforms/postProcessBackgroundImages.js:147:17)
at Function. (.../node_modules/assetgraph-builder/node_modules/seq/index.js:238:28)
at action (.../node_modules/assetgraph-builder/node_modules/seq/index.js:76:11)
make: *** [http-pub-production] Error 1

Ideally, this should be converted into a friendly reminder that forgetful developers should install all the dependencies...