When trying to log in to homey in Node JS I copy and paste the token i got from http://go.athom.com/cli-login , but it only replyes Invalid Token please try again.
Anyone who knows what to do?
When trying to log in to homey in Node JS I copy and paste the token i got from http://go.athom.com/cli-login , but it only replyes Invalid Token please try again.
Anyone who knows what to do?
Same here. Both on Win and MacOS.
Same here - to 1.5.13-rc.11 from Windows 10
Athom is aware of the issue, and is going to look into it as soon as possible.
The problem can be resolved by installing the newest version (2.1.83)
I can not find 2.1.83
The version with the fix is 2.1.38. typo by Jeroen
Run npm i -g athom-cli to get the latest version.
Trying to update it i get theese errorsā¦ I am not aware of any restrictions in filesystemā¦
828 verbose argv āC:\Program Files\nodejs\node.exeā āC:\Program Files\nodejs\node_modules\npm\bin\npm-cli.jsā āinstallā āathom-apiā
829 verbose node v10.11.0
830 verbose npm v6.4.1
831 error path C:\Program Files\nodejs\node_modules.staging
832 error code EPERM
833 error errno -4048
834 error syscall mkdir
835 error Error: EPERM: operation not permitted, mkdir āC:\Program Files\nodejs\node_modules.stagingā
835 error { [Error: EPERM: operation not permitted, mkdir āC:\Program Files\nodejs\node_modules.stagingā]
835 error cause:
835 error { Error: EPERM: operation not permitted, mkdir āC:\Program Files\nodejs\node_modules.stagingā
835 error errno: -4048,
835 error code: āEPERMā,
835 error syscall: āmkdirā,
835 error path: āC:\Program Files\nodejs\node_modules\.stagingā },
835 error stack:
835 error āError: EPERM: operation not permitted, mkdir āC:\Program Files\nodejs\node_modules\.stagingāā,
835 error errno: -4048,
835 error code: āEPERMā,
835 error syscall: āmkdirā,
835 error path: āC:\Program Files\nodejs\node_modules\.stagingā }
836 error The operation was rejected by your operating system.
836 error Itās possible that the file was already in use (by a text editor or antivirus),
836 error or that you lack permissions to access it.
836 error
836 error If you believe this might be a permissions issue, please double-check the
836 error permissions of the file and its containing directories, or try running
836 error the command again as root/Administrator (though this is not recommended).
That works. Thx.