"Couldn't Find That App." When Running Heroku Commands In Console


Answer :

Solved it. Just sharing for future searches.



The issue was fixed by running git init and then heroku git:remote -a worldofwarcraft-api in my command line while inside my repositories folder. This initialized git in the repo and then set the heroku git remote to that repository.



Hopefully, this helps anyone else who had a similar issue.



In my case, someone renamed GitHub repo and I tried to find Heroku app with new GitHub name



It helps me



heroku apps
heroku git:remote -a YOUR_APP


For my case, I was renaming my github repository.


You can find it in your repository settings then just rename it, it appears in the first place.


Then you can continue with git init again to re-initiate your existing git repository and then set your heroku remote with your heroku apps new name heroku git:remote -a YOUR_APP_NAME



Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable