IOhub Development - Node.js setup
If you need to follow the development walkthrough and need a Node.js installation, please follow the installation instructions on the Node.js website.
If you are following our walkthrough, running an Ubuntu WSL2 inside Windows 10, you can install Node 14.x with the following commands:
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
Lost WSL user password
If you forget the password of the WSL user, you could reset it using the procedure below.
- Open a Powershell as Administrator
ubuntu config --default user root
- open a WSL2 console (it will open as root)
passwd <your user>and set a new password
- close the root console
- run in Powershell
ubuntu config --default user <your user>