aqueduct icon indicating copy to clipboard operation
aqueduct copied to clipboard

Deploying to heroku

Open kwado-tech opened this issue 4 years ago • 2 comments

Trying to deploy to heroku following the aqueduct official documentation results t an error. I cant seem to figure out what the issue is. Any help is greatly appreciated. Here is my log

git push heroku master Enumerating objects: 120, done. Counting objects: 100% (120/120), done. Delta compression using up to 4 threads Compressing objects: 100% (106/106), done. Writing objects: 100% (120/120), 10.46 MiB | 185.00 KiB/s, done. Total 120 (delta 41), reused 0 (delta 0), pack-reused 0 remote: Compressing source files... done. remote: Building source: remote: remote: -----> Dart app detected remote: -----> ENV_DIR is /tmp/d20200604-61-1749lbz remote: -----> ENV_DIR contains file BUILDPACK_URL remote: -----> ENV_DIR contains file DART_GLOBAL_PACKAGES remote: -----> ENV_DIR contains file DART_SDK_URL remote: -----> ENV_DIR contains file DATABASE_URL remote: -----> ENV_DIR contains file PATH remote: -----> ENV_DIR contains file PUB_CACHE remote: -----> Welcome, this machine is: Linux 9f265b2e-331f-4e1a-8bbf-89bfb37d2c05 4.4.0-1066-aws #70-Ubuntu SMP Sun Apr 12 21:21:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux remote: -----> Installing Dart VM via URL https://storage.googleapis.com/dart-archive/channels/stable/release/2.7.2/sdk/dartsdk-linux-ia32-release.zip remote: SDK: zip detected remote: % Total % Received % Xferd Average Speed Time Time Time Current remote: Dload Upload Total Spent Left Speed remote: 100 68.7M 100 68.7M 0 0 58.7M 0 0:00:01 0:00:01 --:--:-- 58.7M remote: -----> Copy Dart binaries to app root remote: -----> Dart cmd found at -rwx------ 1 u23676 dyno 29642224 Jun 4 19:39 /app/dart-sdk/bin/dart remote: /app/tmp/buildpacks/847f5cffe90c17580747b6bc5992ebc0dff5463ea0edb4d61615760c6f447ba8378687051e6f97d8ac491f2ff643c888b57f166015817045782167beb8840286/bin/compile: line 86: /app/dart-sdk/bin/dart: No such file or directory remote: ! Push rejected, failed to compile Dart app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to dart-todo. remote: To https://git.heroku.com/dart-todo.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/dart-todo.git'

Currently on Dart VM version: 2.7.2 (stable)

kwado-tech avatar Jun 04 '20 19:06 kwado-tech

mee to I fail in error , "Connecting". This aqueduct need alot of fix.

khalifa007 avatar Jun 04 '20 21:06 khalifa007

Finally resolved this by following the solution suggested here https://github.com/stablekernel/aqueduct/issues/810#issuecomment-628676933

kwado-tech avatar Jun 05 '20 06:06 kwado-tech