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

GetUid Error: process.getuid is not a function #6

Open
apowers313 opened this issue Jun 20, 2018 · 3 comments
Open

GetUid Error: process.getuid is not a function #6

apowers313 opened this issue Jun 20, 2018 · 3 comments

Comments

@apowers313
Copy link
Collaborator

Moving this out of #5 to it's own issue.

@silverstar235 wrote:

Hello, why I can not run fido2-server-demo, in command line, i met this issue: "process.getuid is not a function..." error from component-director.js. In addition, debugging code with index.js has been lost the lib/main.js. I am using Node 8 8.11.1 and npm version 5.6.0

If you are running windows, the problem is that windows doesn't support getuid. You can comment out the uid commands in your config file (like this)and that should fix it.

Let me know if that doesn't fix your problem or if you aren't running windows.

@silverstar235
Copy link

Hello, I have opened command for setuid and setgid, howerver this error still be happen with "npm start". How about the running of index.js file? It exported this issue: "Cannot find module './lib/main.js'"

@apowers313
Copy link
Collaborator Author

index.js does nothing. I will delete it.

Can you show me the config file you are using and the error that you see?

@apowers313
Copy link
Collaborator Author

By the way, I made a new Docker image. That might be easier:
https://hub.docker.com/r/apowers313/fido2-server/

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