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.
After installing Ubuntu 18.04 on another machine, I needed to install the node.js and npm packages. After installing node, npm install failed because node pulled up its links that don't satisfy npm.
Let's consider an alternative possibility of installing not from the regular repository.
1. Removing already installed node.js and partially installed npm :
sudo apt remove --purge nodejs npm
sudo apt clean
sudo apt autoclean
sudo apt install -f
sudo apt autoremove
2. Adding repositories and installing :
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install yarn
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.
Пришлось грохнуть папку node_modules и поставить заново
THANCS!!!