1

我正在尝试按照有关如何在 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 在后台调用它)

4

1 回答 1

1

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

于 2018-09-02T19:24:09.283 回答