dungngminh
dungngminh
RRailway
Created by dungngminh on 9/5/2023 in #✋|help
How to using 3.0.0 dart version?
#10 [6/9] RUN dart pub get



#10 0.566 Resolving dependencies...

#10 0.666 The current Dart SDK version is 2.18.0.

#10 0.666



#10 0.666 Because very_good_blog_app_backend requires SDK version >=3.0.0 <4.0.0, version solving failed.

#10 ERROR: process "/bin/bash -ol pipefail -c dart pub get" did not complete successfully: exit code: 1



-----

> [6/9] RUN dart pub get:

0.566 Resolving dependencies...

0.666 The current Dart SDK version is 2.18.0.

0.666

0.666 Because very_good_blog_app_backend requires SDK version >=3.0.0 <4.0.0, version solving failed.

-----



Dockerfile:19

-------------------

17 | # install phase

18 | COPY pubspec.yaml /app/pubspec.yaml

19 | >>> RUN dart pub get

20 |

21 | # build phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c dart pub get" did not complete successfully: exit code: 1



Error: Docker build failed
#10 [6/9] RUN dart pub get



#10 0.566 Resolving dependencies...

#10 0.666 The current Dart SDK version is 2.18.0.

#10 0.666



#10 0.666 Because very_good_blog_app_backend requires SDK version >=3.0.0 <4.0.0, version solving failed.

#10 ERROR: process "/bin/bash -ol pipefail -c dart pub get" did not complete successfully: exit code: 1



-----

> [6/9] RUN dart pub get:

0.566 Resolving dependencies...

0.666 The current Dart SDK version is 2.18.0.

0.666

0.666 Because very_good_blog_app_backend requires SDK version >=3.0.0 <4.0.0, version solving failed.

-----



Dockerfile:19

-------------------

17 | # install phase

18 | COPY pubspec.yaml /app/pubspec.yaml

19 | >>> RUN dart pub get

20 |

21 | # build phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c dart pub get" did not complete successfully: exit code: 1



Error: Docker build failed
I'm trying to deploy backend site using dart_frog, but current version is 2.18.0. How can I update sdk to 3.0.0 ?
15 replies