-
Notifications
You must be signed in to change notification settings - Fork 2
Development
Dmitry Romanov edited this page Jul 10, 2017
·
7 revisions
HDvis uses node.js stack (webpack, bower and others) but first one needs to install node.js itself. The caveat is that if one just use apt install node.js
it uses node.js LTS of version 4 which is pretty old (current version is 8). There are many ways to -skin a cat- install a nodejs on ubuntu, here we use nvm
- node version manager.
The Node Version Manager GitHub page []
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
Then install node.js
nvm install node
Yarn is a alternative to npm node.js package manager. One could have a fun googling "yarn vs npm". It has a good documentation here.
For Ubuntu:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list