When attempting to call "heroku create", I get the following results:
Creating app... done, stack is cedar-14
ENOENT: spawn git ENOENT
How can I fix this error?
Turns out the application was being created fine, but when I attempted to push my local repository using the command "git push heroku master" I didn't have a git remote setup.
Solved by running: git remote add heroku [email protected]:your-app-name-here.git
I was also facing same problem while deploying sample node js application on heroku cloud by following the heroku tutorial. I was trying to run the "heroku create" and "git push heroku master" from Window's command prompt and it was not working due to above and other reasons.
Things started working for me when I did the same things from Gits bash session. I started git bash and ran the above commands from git bash command line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With