laravel 框架下的问题总结(十)-----heroku buildpacks:set heroku/php › 报错Error: Couldn't find that app.

问题详细如图:

laravel 框架下的问题总结(十)-----heroku buildpacks:set heroku/php › 报错Error: Couldn't find that app.

解决方法如下:

使用 git remote get-url heroku 可以查看当前的 url 和生成的是否一致。
生成的 url 如果没有记住,可以在 heroku 网站查看,在项目里 setting 中 Info -> Heroku Git URL

laravel 框架下的问题总结(十)-----heroku buildpacks:set heroku/php › 报错Error: Couldn't find that app.

修改为自己的 heroku 地址即可:
git remote set-url heroku https://git.heroku.com/xxx.git