Это тестовый контроллер, год на стенде уже висит, поэтому точно не помню и скорей всего Node-Red устанавливался по этой инструкции Wiren Board 6: Node-RED — Wiren Board
~/.npm is a cache that npm uses to avoid re-downloading the same package multiple times. There’s no harm in removing it. You can empty it with the command:
> npm cache clean
То есть эта папка - просто кэш для npm. Думаю, можно просто удалить (переместить) папку для начала. Посмотреть будет ли она снова создаваться и увеличиваться в размере.
npm cache clean
npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data ex tracted from the cache is guaranteed to be valid. If you want to make sure everyt hing is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empt y-cache` to use a temporary cache instead of nuking the actual one.
npm ERR!
npm ERR! If you're sure you want to delete the entire cache, rerun this command w ith --force.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-06-28T11_17_47_262Z-debug.log
npm cache clean --force
npm WARN using --force I sure hope you know what you are doing.
/dev/mmcblk0p6 1,3G 766M 447M 64% /mnt/data
du -h -d 1 /mnt/data/root
14M /mnt/data/root/.cache
165M /mnt/data/root/.node-red
20K /mnt/data/root/.config
16K /mnt/data/root/.npm
12K /mnt/data/root/.local
178M /mnt/data/root