Skip to content

Unable to login on mac m1 #322

Description

@herbertpimentel

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',
    '*****'
  ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions