Why ember-cli-update is failing?

ember-cli-update command is failing with this error: any ideas!

{ Error: Command failed: git clone --mirror https://github.com/ember-cli/ember-new-output /var/folders/zr/gt42wmv51g7ffz7n0dx9wfzc0000gp/T/tmp-24473KUOfMNXroFSq/.git
Cloning into bare repository '/var/folders/zr/gt42wmv51g7ffz7n0dx9wfzc0000gp/T/tmp-24473KUOfMNXroFSq/.git'...
Bad owner or permissions on /Users/yassiney./.ssh/config
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
  killed: false,
  code: 128,
  signal: null,
  cmd:
   'git clone --mirror https://github.com/ember-cli/ember-new-output /var/folders/zr/gt42wmv51g7ffz7n0dx9wfzc0000gp/T/tmp-24473KUOfMNXroFSq/.git',
  stdout: '',
  stderr:
   'Cloning into bare repository \'/var/folders/zr/gt42wmv51g7ffz7n0dx9wfzc0000gp/T/tmp-24473KUOfMNXroFSq/.git\'...\nBad owner or permissions on /Users/yassiney./.ssh/config\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n' }

Bad owner or permissions on /Users/yassiney./.ssh/config

This could be the culprit. From a terminal, you can verify the permissions of that file with ls -l $HOME/.ssh/config.

That said, are you able to clone any repository from GitHub? The ssh configuration on your machine could be off.

2 Likes

That works thanks a lot :slight_smile:

1 Like