actualling when running on m1, none of the commands works. all of them fails with same errror
downgrading to version 2.0.0 login works on version, but then the cli does not recoginize flag --template on pull operation ¯_(ツ)_/¯
running on mac m1
node version v16.16.0 (I also tryed other version with no success)
beto@badblood Dev % realm-cli login --api-key **** --private-api-key ******
node:events:505
throw er; // Unhandled 'error' event
^
Error: spawn /Users/beto/.nvm/versions/node/v16.16.0/lib/node_modules/mongodb-realm-cli/realm-cli ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /Users/beto/.nvm/versions/node/v16.16.0/lib/node_modules/mongodb-realm-cli/realm-cli',
path: '/Users/beto/.nvm/versions/node/v16.16.0/lib/node_modules/mongodb-realm-cli/realm-cli',
spawnargs: [
'login',
'--api-key',
'*****',
'--private-api-key',
'*****'
]
}
actualling when running on m1, none of the commands works. all of them fails with same errror
downgrading to version 2.0.0 login works on version, but then the cli does not recoginize flag --template on pull operation ¯_(ツ)_/¯
running on mac m1
node version v16.16.0 (I also tryed other version with no success)