I am trying to install the Stencil-CLI in terminal, but it keeps hanging up. This last time I got the error message(s):
npm ERR! Error while executing: npm ERR! /usr/local/bin/git ls-remote -h -t git://github.com/bigcommerce/browser-sync.git npm ERR! npm ERR! fatal: Unable to look up github.com (port 9418) (nodename nor servname provided, or not known) npm ERR! npm ERR! exited with error code: 128
I followed these instructions from their docs:
Install Node Version Manager (nvm)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
Install Stencil CLI supported version of Node.js
nvm install 8.16
Switch to Stencil CLI supported version of Node.js:
nvm use 8.16
Install Stencil CLI
npm install -g @bigcommerce/stencil-cli
Also I used this additional command to reset terminal to use nvm: source ~/.nvm/nvm.sh
Any insight into what is going on is appreciated. Do I need to set up a remote repository on my machine first? Thank you!