Hello! Railway works for flutter web?
Anonymous
TRIALOP

2 years ago

[6/9] RUN dart pub get:

0.476 Resolving dependencies…

1.724

1.724 Flutter users should run flutter pub get instead of dart pub get.

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: 69

Error: Docker build failed

0 Replies

brody
EMPLOYEE

2 years ago

you could provide a nixpacks.toml that runs that command instead of the default.

[phases.install]
cmds = ["flutter pub get"]

brody
EMPLOYEE

2 years ago

n/a


Anonymous
TRIALOP

2 years ago

thakns you response faster, ok, i got try


Anonymous
TRIALOP

2 years ago


brody
EMPLOYEE

2 years ago

full build logs please


Anonymous
TRIALOP

2 years ago

sorry brody, I'm having difficulty downloading this tool, can I send you the logs via txt?


brody
EMPLOYEE

2 years ago

please use the tool


Anonymous
TRIALOP

2 years ago


Anonymous
TRIALOP

2 years ago

its work


Anonymous
TRIALOP

2 years ago

x)


brody
EMPLOYEE

2 years ago

the new command is not ran, are you sure you are deploying the correct repo and branch?


Anonymous
TRIALOP

2 years ago

yes


Loading...