heroku build error
todokku opened this issue · comments
`
-----> Dart app detected
-----> ENV_DIR is /tmp/d20200123-49-bxjvp2
-----> ENV_DIR contains file DART_SDK_URL
-----> Welcome, this machine is: Linux 31d49890-3658-4d0a-833e-777064bebb22 4.4.0-1057-aws #61+hf245703v20191104b1-Ubuntu SMP Mon Nov 4 15:32:25 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
-----> Installing Dart VM via URL https://storage.googleapis.com/dart-archive/channels/stable/release/2.1.0/sdk/dartsdk-linux-x64-release.zip
SDK: zip detected
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
-----> Copy Dart binaries to app root
-----> Dart cmd found at -rwx------ 1 u29593 dyno 21979680 Jan 23 15:58 /app/dart-sdk/bin/dart
Dart VM version: 2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "linux_x64"
-----> Dart reports version:
PUBSPEC_PATH is not set. Looping through all pubspec.yaml files.
building ./pubspec.yaml
*** Found pubspec.yaml in /tmp/build_4d5c977e20c9859412a6db039d8261a4/.
*** Running pub get
Pub 2.1.0
Resolving dependencies...
Because flutter_tiktok depends on flutter_test any from sdk which doesn't exist (the Flutter SDK is not available), version solving failed.
Flutter users should run flutter packages get
instead of pub get
.
! Push rejected, failed to compile Dart app.
! Push failed`
please upgrade your flutter version to solve flutter sdk problem with :
flutter channel dev
flutter upgrade
finest regards
waiting for your response
goodbye
sorry for replying so late……
this projiect is not finished,but maybe you can run flutter packages get
first.
It works fine on my device