Installing Multiple Versions of Node.js on Ubuntu Using NVM
Let's look at the nvm tool for ubuntu and its basic commands for switching between node versions.
In the midst of a working evening, I ran into a problem that the logged in user was no longer able to edit his own files. Without thinking twice, I decided to reboot.
To my surprise, the system boot hung in one place ( initramfs ).

Due to " fsck exited with status code 4 ", the suspicion fell on the failure of the part of the SSD responsible for starting Linux. But the kernel has a recovery tool and backup files. I tried to use it.
fsck.ext4 /dev/sda2
My file system is ext4 , the system was on a single disk /dev/sda2 .

Further, everything that was offered was squeezing Y everywhere. At the end, it gave a log about the modified files. Having made reboot, the system was restored. It won't help everyone, but it might be your case.

More information, perhaps there will be more disclosed the problem and solution:
Let's look at the nvm tool for ubuntu and its basic commands for switching between node versions.
Consider setting up swap if there is enough RAM available. The effect of the swappiness parameter on the aggressiveness of swap file usage.
Let's consider the possibility of changing the parameters of the configuration file (php.ini) on a hosting that does not have the ability to configure the Cron scheduler (cli) from the panel.
Configuring Apache for high volume Cookies. Let's analyze the error "Bad Request. Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit." and options to configure the server.
Let's try to cure the black screen when booting Ubuntu after installing proprietary nvidia-340 driver on Nvidia 630M laptop.