-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Using the example in the documentation, the callback didn't get executed so I've debugged a bit (I have a MBP, latest OSX).
The strange thing is that the done() function is executed and so is the return callback part, I'm not sure why the function doesn't get executed though. I've console.log-ed the error though (in the done function) and here is some useful data:
[ 'Error: EPERM, Operation not permitted',
' at /Users/alexandruvladutu/www/module-smith-stuff/node_modules/module-smith/node_modules/uid-number/uid-number.js:46:16',
' at ChildProcess.exithandler (child_process.js:538:7)',
' at ChildProcess.EventEmitter.emit (events.js:96:17)',
' at maybeClose (child_process.js:638:16)',
' at Socket.ChildProcess.spawn.stdin (child_process.js:815:11)',
' at Socket.EventEmitter.emit (events.js:93:17)',
' at Socket._destroy.destroyed (net.js:357:10)',
' at process.startup.processNextTick.process._tickCallback (node.js:244:9)' ]
the tmpdir: /var/folders/6t/5dtxtn5d0_x59j8mjnvw4j2w0000gn/T/tmp-10258i6h8mow
in the uid-number file:
execfile /Users/alexandruvladutu/.nvm/v0.8.11/bin/node [ '/Users/alexandruvladutu/www/module-smith-stuff/node_modules/module-smith/node_modules/uid-number/get-uid-gid.js', 'nobody', 'nobody' ]
Any idea what happens here? Maybe some domain weird stuff.. ?