go io_error ai_generated true

go: writing go.sum: no space left on device

ID: go/insufficient-disk-space

Also available as: JSON · Markdown · 中文
80%Fix Rate
85%Confidence
0Evidence
2024-05-10First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
1.16 active
1.23 active

Root Cause

The disk is full, preventing Go from writing module cache or go.sum files.

generic

中文

磁盘已满,阻止 Go 写入模块缓存或 go.sum 文件。

Workarounds

  1. 80% success
    go clean -modcache
  2. 70% success
    Use 'df -h' to identify large files and delete them

Dead Ends

Common approaches that don't work:

  1. 40% fail

    May delete important files or not free enough space for the module cache.

  2. 50% fail

    If the new location is also full, the error persists.