当我运行heroku ps:scale web=1命令时,我得到了这个错误。有人能帮我吗

2024-10-01 15:49:21 发布

您现在位置:Python中文网/ 问答频道 /正文

当我运行herokups:scale web=1命令时,我得到了这个错误。在

▸    Missing required flag:
▸    -a, --app APP  app to run command against
▸    See more help with --help

有人能帮我吗。在


Tags: torun命令webapp错误requiredhelp
1条回答
网友
1楼 · 发布于 2024-10-01 15:49:21

尽管只有一个应用程序,但您必须提到要根据其从CLI运行命令的应用程序名称。在

从CLI运行命令时,建议始终使用

 app 'app-name'

反对任何命令。在

如果不想这样做,可以使用命令将heroku git remote app repo设置为特定的应用程序

^{pr2}$

这将有助于你不必每次都输入应用程序名。在

关于动态子的缩放,你可以读到here。在

相关问题 更多 >

    热门问题