Getting error messages while running a project or running the test cases.
Error Message: “No space left on device, write”
Solution 1: You can do this by opening the file explorer, right clicking on “trash” in the left hand menu and then clicking “empty trash”
Demo:
https://drive.google.com/file/d/1NDQRyIMB9v6EoAhMyr8wW3MYZq3TxGVX/view?usp=sharin g”> https://drive.google.com/file/d/1NDQRyIMB9v6EoAhMyr8wW3MYZq3TxGVX/view?usp=sharing
Please cleanup all un-wanted data from the Downloads folder as well as your project app folder. Use this command to check folder size :
du -sh /data/home/ubuntu/*
If #1 does not resolve the problem, run the following commands on IDE terminal:
rm -rf /data/home/ubuntu/.cache/*
rm -rf /data/home/ubuntu/npm-offline-cache/home/ubuntu/npm-offline-cache/*.tgz
If #1 and #2 together does not resolve the problem, then please run the following command on IDE terminal and share the screenshot:
du -a /dir/ | sort -n -r | head -n 20 | awk '{print $1/1024 " MB " $2}'
Solution 2: Run the command:
npx npkill