Heroku找不到那个应用程序



当我尝试命令时,我正在Linux终端上工作 - heroku create 它有效

Creating app... done, ⬢ frozen-plateau-26000
https://frozen-plateau-26000.herokuapp.com/ | https://git.heroku.com/frozen-plateau-26000.git

但是当我接下来尝试执行 heroku 打开时 我明白这个

(node:23086) Error Plugin: install: files attribute must be specified in /home/user/.local/share/heroku/node_modules/install/package.json
module: @oclif/plugin-legacy@1.1.0
plugin: install
root: /home/user/.local/share/heroku/node_modules/install
See more details with DEBUG=*
(node:23086) [ERR_INVALID_CALLBACK] @oclif/plugin-legacy: Plugin mvn: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
/home/user/.local/share/heroku/node_modules/mvn
▸    Couldn't find that app.

这是一个弹簧启动应用程序,这是我pom的一部分

<dependency>
<groupId>com.heroku.sdk</groupId>
<artifactId>heroku-maven-plugin</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.heroku.sdk</groupId>
<artifactId>heroku-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

使用这个:

heroku open --app <app-name>

--app(别名:-a(是heroku open的必需参数。有关命令用法的更多详细信息,请查看heroku open --help

最新更新