You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client does not create the data/devices directory. This causes the device registration to fail to write the credential file. Manually creating the path resolves the problem
Error: ENOENT: no such file or directory, open 'Z:\Documents\Projects\whispersync-lib\data\devices\device-amzn1.account.Axxxxxxxxxxx.json'
at Object.openSync (fs.js:458:3)
at Object.writeFileSync (fs.js:1355:35)
at Function.Device.writeDevice (Z:\Documents\Projects\whispersync-lib\whispersync-client\src\device.js:23:6)
at Namespace.registerDevice [as handler] (Z:\Documents\Projects\whispersync-lib\whispersync-client\src\cli.js:30:10)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async main (Z:\Documents\Projects\whispersync-lib\whispersync-client\src\cli.js:170:3) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'Z:\\Documents\\Projects\\whispersync-lib\\data\\devices\\device-amzn1.account.Axxxxxxxxxxx.json'
}
The text was updated successfully, but these errors were encountered:
The client does not create the data/devices directory. This causes the device registration to fail to write the credential file. Manually creating the path resolves the problem
The text was updated successfully, but these errors were encountered: