Aqueduct heroku部署问题

Aqueduct heroku deployment problems

我正在尝试按照 the official tutorial 了解如何在 Heroku 上部署应用程序 但是我收到以下错误:

remote: Precompiled aqueduct:aqueduct.
remote: Precompiled test:test.
remote: *** Running pub build
remote: Building with "pub build"
remote: Dart 2 has a new build system. Learn how to migrate from pub build and
remote: pub serve: https://webdev.dartlang.org/dart-2
remote:  !     Push rejected, failed to compile Dart app.

我似乎找不到任何关于我可以更改以修复错误的提示(它不应该真正使用 pub build 或 serve。除非 aqueduct 在后台调用它)

在项目的根目录中有一个 web 文件夹会导致 buildpack 尝试 运行 'pub build'