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

win64/node 0.10.25 : sinopia fails to start #41

Closed
georgzoeller opened this issue Jan 24, 2014 · 1 comment
Closed

win64/node 0.10.25 : sinopia fails to start #41

georgzoeller opened this issue Jan 24, 2014 · 1 comment

Comments

@georgzoeller
Copy link

Sinopia is crashing when starting from the cli on node 0.10.25/win64:

It seems like it should call process.getuid, not process.getuid():

$sinopia

Error:
c:\Users\USER\AppData\Roaming\npm\node_modules\sinopia\lib\cli.js:3
if (process.getuid() === 0) {
^
TypeError: Object # has no method 'getuid'
at Object. (c:\Users\georg.zoeller\AppData\Roaming\npm\node_modules\sinopia\lib\cli.js:3:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (c:\Users\georg.zoeller\AppData\Roaming\npm\node_modules\sinopia\bin\sinopia:3:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)

@rlidwka
Copy link
Owner

rlidwka commented Jan 24, 2014

Oh, you can remove those three lines safely, I'll make a patch for it in a few minutes.

I have no idea if it'll fully work on windows though.

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

2 participants