I tried running npm install -g polymer-cli
but it is giving me an error every time I run it.
NPM is running behind corporate proxy which is configured both for git and npm. I had no problems installing bower or gulp and I have no problem using git to clone repositories.
I have tried this with no result:
git config --global url."https://".insteadOf git://
from here
Stack Overflow - git:// protocol blocked by company, how can I get around that?
This is part of the output:
31725 error Windows_NT 6.1.7601
31726 error argv "C:\\Users\\user\Documents\\Tools\\node-v6.3.1-win-x64\\node.exe" "C:\\Users\\user\\Documents\\Tools\\node-v6.3.1-win-x64\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "polymer-cli"
31727 error node v6.3.1
31728 error npm v3.10.5
31729 error code 128
31730 error Command failed: git -c core.longpaths=true clone --template=C:\Users\userAppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:polymerelements/test-fixture.git C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\git-github-com-polymerelements-test-fixture-git-8142662e
31730 error ssh: connect to host github.com port 22: Bad file number
31730 error fatal: Could not read from remote repository.
31730 error
31730 error Please make sure you have the correct access rights
31730 error and the repository exists.