No space left on device error - npm can't create directories despite 0/1024MB disk usage

Posted by romano in discord-bots.

My server keeps crashing with "No space left on device" when trying to run npm install or even mkdir, even though the dashboard shows 0/1024 MB disk usage (server is completely fresh after a full reinstall). Server ID: fb1fffc3 Server name: anime bot Error log: mkdir: cannot create directory '/home/container/.npm': No space left on device This happens with a simple startup command: mkdir p /home/container/.npm && mkdir p /home/container/node modules && cd /home/container && npm install && node index.js Since my allocated disk shows as empty, I believe this might be a host level disk space issue on the physical node my server is running on. Could someone please check? Thanks in advance!

Wispbyte Community Forum