Prior to all, you should have the following prerequisites installed on your machine:
node version
> 8.10+
If you need to update Node, please install nvm
and install/use the LTS version. macOS/Linux commands provided for you below for convenience:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
nvm install --lts
nvm use lts