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

Run npx-fitbit without machine ID #290

Open
codingMASTER398 opened this issue May 26, 2022 · 1 comment
Open

Run npx-fitbit without machine ID #290

codingMASTER398 opened this issue May 26, 2022 · 1 comment

Comments

@codingMASTER398
Copy link

I'm running on a cloud server that doesn't have a machine ID in /etc/machine-id, and I cannot create one due to permission issues.
When running npx fitbit, I get the following error:

Failed to read auth token from keychain: Error: Cannot spawn a message bus without a machine-id: Invalid machine ID in /nix/store/f5jhxrj5cxq2mnahwj4nba3sw4g5956c-glib-2.70.1/var/lib/dbus/machine-id or /etc/machine-id

I also can't make one in /nix/store/f5jhxrj5cxq2mnahwj4nba3sw4g5956c-glib-2.70.1/var/lib/dbus/machine-id , by the way.

Any way to do this without a valid machine ID?

@Hexxeh
Copy link
Contributor

Hexxeh commented Jun 21, 2022

This looks like some internal requirement within the keytar library we use to store auth tokens in the keychain. Not sure of any easy way around it short of removing/replacing keytar.

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