Reputation: 121
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:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
nvm install 8.16
nvm use 8.16
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!
Upvotes: 0
Views: 585
Reputation: 471
I was facing the same issue. But overcame with these steps.
npm i -g folder\Path\to\downloaded\stencil\folder
Upvotes: 0
Reputation: 111
Can you try running the following command?
git config --global url.https://github.com/.insteadOf git://github.com/
This sounds like you might be getting blocked by network rules or something like that.
Upvotes: 1