Closed pbcomm closed 13 years ago
What exists at that path?
The folder is there, however it's empty.
The exception is being thrown because the path exists and is not a UNIX domain socket. Did you by chance manually create this directory? I don't see a codepath in node-webworker that would create a directory here.
I did not create the directory. It's being created when the socket is opened by webworker. There is a var being set with the same path:
// Directory for our UNIX domain sockets var SOCK_DIR_PATH = '/tmp/node-webworker-' + process.pid;
I'm seeing the same behavior on Mac OS 10.6.6.
I'm seeing this error when creating new workers in node version 0.4.1.
Seems to be because the npm package hasn't been updated? Using master works.
Confirmed! Master works fine. Please update npm!!!!! Thanks kschzt.
Tested with 0.4.2 as well, works fine.
Master fixes the problem for me too. Updating npm would be great!
net.js:1016 throw new Error('Non-socket exists at ' + path); ^ Error: Non-socket exists at /tmp/node-webworker-88948 at net.js:1016:17