Skip to content
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

Callback not executed #1

Open
alessioalex opened this issue Feb 20, 2013 · 0 comments
Open

Callback not executed #1

alessioalex opened this issue Feb 20, 2013 · 0 comments

Comments

@alessioalex
Copy link

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.. ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant