Search code examples
gitubuntuherokucloneheroku-cli

Error when trying to clone my Heroku app into my local machine


I'm running an app on heroku . But unfortunately very recently I lost my files on my hdd and now I'm trying to clone back my backend on my hard drive.

i tried to run the following from heroku cli to clone my app onto my local machine:

heroku git:clone -a myAppName

But i get this error:

▸ ENOENT: spawn git ENOENT any idea what the problem is?

Thx


Solution

  • this means that git isn't found. You either need to install it or add it to your path environment variable