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.
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.
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 runningnpx fitbit
, I get the following error: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?