Failed to install autocomplete-clang package


#1

I want to write C++ using Atom, so I assume that it is sensible to install the autocomplete-clang package. But when I attempt to install that package I see this error:

I don’t have Git installed on my computer. Must I have Git in order to use Atom?


#2

Yes you should if you want to install/update packages through the settings view or with apm. You can try to install them manually by downloading the package archive from github and put it into the Atom packages directory but you’ll have to run apm install manually too.


#3

Thanks for your reply. I have now installed Git. Installing the autocomplete-clang package still fails, but now with:

npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/clang-flags
npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/atom/autocomplete.git) 
npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/atom/snippets.git) 
npm http 304 https://registry.npmjs.org/clang-flags
npm http 304 https://registry.npmjs.org/underscore-plus
npm ERR! git clone git://github.com/atom/snippets.git Cloning into bare repository 'C:\Users\<me>\.atom\.node-gyp\.atom\.apm\_git-remotes\git-github-com-atom-snippets-git-3ad38c76'...
npm ERR! git clone git://github.com/atom/snippets.git fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/atom/snippets.git github.com[0: 192.30.252.130]: errno=No such file or directory
npm ERR! git clone git://github.com/atom/autocomplete.git Cloning into bare repository 'C:\Users\<me>\.atom\.node-gyp\.atom\.apm\_git-remotes\git-github-com-atom-autocomplete-git-3e9760b3'...

I am working on Window 8 behind a corporate proxy server.

How can I fix this please?


#4

Any thoughts on this please?


#5

I’m not on windows and doesn’t work behind a proxy so I can offer little help on this matter but maybe this post can help you: