Question

I previously had my Heroku's application name at:

shielded-meadow-9293.heroku.com

This was the name when I created the Heroku remote and fired up the dyno. After everything was running smooth, I changed the name to

platformdesignmadness.heroku.com

The site works, but in the same terminal, when I do a command such as

heroku ps

I get a $> ! Couldn't find that app. error. Why is this?

Was it helpful?

Solution

In your terminal:

git remote rm heroku
git remote add heroku git@heroku.com:yourappname.git

See here

Heroku docs here.

OTHER TIPS

For all the people showing up here trying to figure out why a

$ heroku run:detached python script.py -n yyy -a zzzz

command isn't working, and giving this error:

▸    Couldn't find that app.

it's because Heroku senses the -a argument as the app name. To ignore these the fix is this, basically adding a --:

$ heroku run:detached -- python script.py -n yyy -a zzzz

and now it will work properly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top