glejeune / node-graphviz

Node.js interface to the GraphViz graphing tool

Home Page:http://algorithmique.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: EPIPE, Broken pipe

yoshifuji opened this issue · comments

After I finished install of Graphviz app & npm package of node-graphviz,,
when I type this command "node hello_world.js" at Mac terminal, I've noticed under error message.

I use Graphviz ver 1.13 , node.js ver 0.3.1, npm ver 0.2.10-1.

If you know how to solve this error, tell me solution, please.

node.js:50
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: EPIPE, Broken pipe
at Stream._writeImpl (net.js:139:14)
at Stream._writeOut (net.js:558:25)
at Stream.write (net.js:491:17)
at [object Object].render (/usr/local/lib/node/.npm/graphviz/0.0.3/package/lib/deps/graph.js:330:18)
at [object Object].output (/usr/local/lib/node/.npm/graphviz/0.0.3/package/lib/deps/graph.js:335:8)
at Object. (/Users/user/Documents/workspace/testNodeJS/graphviz-0.0.3/tests/hello_world.js:20:3)
at Module._compile (node.js:329:23)
at Object..js (node.js:337:12)
at Module.load (node.js:260:25)

at Array. (node.js:351:24)

Outch ! GraphViz 1.13 ! Can you test with a higher version ?

Hi, glejeune. Thank you for your quick response.
When I tried with Graphviz Ver 2.26, I could go well (-:

It throws similar error with GraphViz 2.26.3

Error: write EPIPE
    at errnoException (net.js:770:11)
    at Object.afterWrite (net.js:594:19)