Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: installer could check if enough space before installing #27

Open
eseidel opened this issue Apr 26, 2023 · 0 comments
Open

feat: installer could check if enough space before installing #27

eseidel opened this issue Apr 26, 2023 · 0 comments

Comments

@eseidel
Copy link
Contributor

eseidel commented Apr 26, 2023

A TT tried to install with not enough space. Got a confusing error message.

Receiving objects: 100% (5492/5492), 10.30 MiB | 894.00 KiB/s, done.
Resolving deltas: 100% (1732/1732), done.
Updating files: 100% (6999/6999), done.
HEAD is now at 58dff390 chore: Update engine version to shorebird-3.7.12
Shorebird Engine • revision d470ae25d21f583abe128f7b838476afd5e45bde
Downloading Darwin arm64 Dart SDK from Flutter engine d470ae25d21f583abe128f7b838476afd5e45bde...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  217M  100  217M    0     0  6542k      0  0:00:34  0:00:34 --:--:-- 9630k
/Users/nils/.shorebird/bin/cache/flutter/bin/cache/dart-sdk/bin/snapshots/dart2js.dart.snapshot:  write error (disk full?).  Continue? (y/n/^C) 
warning:  /Users/nils/.shorebird/bin/cache/flutter/bin/cache/dart-sdk/bin/snapshots/dart2js.dart.snapshot is probably truncated

It appears that the downloaded file is corrupt; please try again.
If this problem persists, please report the problem at:
  https://github.com/flutter/flutter/issues/new?template=1_activation.md

Here is a one liner to get the number of free bytes:
df . | tail -1 | awk '{print $4}'

@eseidel eseidel transferred this issue from shorebirdtech/shorebird Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant