I am new to Ubuntu 17.04. So I am having problems with git and Heroku.
When I run $ heroku create
or try to clone an exciting repository / application created on Windows heroku git:clone -a appname
, I get an error. ENOENT: spawn git ENOENT
.
I did a few searches, it looks like either git is not installed, or PATH is incorrect or incorrectly installed. But I installed git $ sudo apt-get install git
$ git --version git version 2.11.0
$ git --exec-path /usr/lib/git-core
And I installed Heroku-CLI using the binding as indicated in the documentation. $ sudo snap install heroku
$ which heroku /snap/bin/heroku
$ heroku --version heroku-cli/6.12.0 (linux-x64) node-v7.10.0
Can anyone help me out? Thanks.
source share