Skip to content

win64/node 0.10.25 : sinopia fails to start  #41

@georgzoeller

Description

@georgzoeller

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions