angular / angular-phonecat

Tutorial on building an angular application.
http://docs.angularjs.org/tutorial
MIT License
3.12k stars 4.67k forks source link

Problem with Anypoint Cli installation #444

Closed rvats123 closed 5 years ago

rvats123 commented 5 years ago

I am trying to do npm installation , however getting below error:

735 silly fetchPackageMetaData error for minimist@git://github.com/mulesoft/minimist.git Error while executing: 735 silly fetchPackageMetaData C:\Program Files\Git\mingw64\bin\git.EXE ls-remote -h -t git://github.com/mulesoft/minimist.git 735 silly fetchPackageMetaData 735 silly fetchPackageMetaData fatal: unable to connect to github.com: 735 silly fetchPackageMetaData github.com[0: 140.82.118.3]: errno=No error 735 silly fetchPackageMetaData 735 silly fetchPackageMetaData 735 silly fetchPackageMetaData exited with error code: 128 736 timing stage:rollbackFailedOptional Completed in 0ms 737 timing stage:runTopLevelLifecycles Completed in 32244ms 738 verbose stack Error: exited with error code: 128 738 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\util\finished.js:12:19) 738 verbose stack at ChildProcess.emit (events.js:198:13) 738 verbose stack at maybeClose (internal/child_process.js:982:16) 738 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 739 verbose cwd C:\Program Files\Git 740 verbose Windows_NT 6.1.7601 741 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "anypoint-cli@latest" 742 verbose node v10.16.3 743 verbose npm v6.9.0 744 error Error while executing: 744 error C:\Program Files\Git\mingw64\bin\git.EXE ls-remote -h -t git://github.com/mulesoft/minimist.git 744 error 744 error fatal: unable to connect to github.com: 744 error github.com[0: 140.82.118.3]: errno=No error 744 error 744 error 744 error exited with error code: 128

I have gone through google and found , below should solve the issue but in my case it is not. git config --global url."https://".insteadOf git://

I have access to git clone though. Kindly help