Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing atom-beautify@0.15.1 behind a proxy failed #133

Closed
emcek opened this issue Oct 29, 2014 · 3 comments
Closed

Installing atom-beautify@0.15.1 behind a proxy failed #133

emcek opened this issue Oct 29, 2014 · 3 comments
Assignees

Comments

@emcek
Copy link

emcek commented Oct 29, 2014

I'm behind proxy but atom and other packages are installed fine.

C:\Users\munio>apm install atom-beautify@0.15.1
Installing atom-beautify@0.15.1 to C:\Users\munio\.atom\packages failed

npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/extend  
npm http GET https://registry.npmjs.org/js-beautify
npm http GET https://registry.npmjs.org/strip-json-comments 
npm http GET https://registry.npmjs.org/js-yaml  
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/lodash/2.4.1
npm http GET https://registry.npmjs.org/analytics-node      
npm http GET https://registry.npmjs.org/temp    
npm http GET https://registry.npmjs.org/loophole
npm http GET https://registry.npmjs.org/atom-message-panel  
npm http GET https://registry.npmjs.org/typescript-formatter
npm http GET https://registry.npmjs.org/editorconfig
npm http GET https://registry.npmjs.org/prettydiff  
npm http 304 https://registry.npmjs.org/strip-json-comments 
npm http 304 https://registry.npmjs.org/js-beautify
npm http 304 https://registry.npmjs.org/js-yaml
npm http 304 https://registry.npmjs.org/extend 
npm http 304 https://registry.npmjs.org/temp   
npm http 304 https://registry.npmjs.org/node-uuid  
npm http 304 https://registry.npmjs.org/editorconfig        
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/atom-message-panel  
npm http 304 https://registry.npmjs.org/analytics-node      
npm http 304 https://registry.npmjs.org/typescript-formatter
npm http 304 https://registry.npmjs.org/prettydiff
npm http 304 https://registry.npmjs.org/loophole  
npm http 304 https://registry.npmjs.org/lodash/2.4.1
npm ERR! git fetch -a origin (https://github.com/Glavin001/Coffee-Formatter.git) fatal: unable to access 'https://github.com/Glavin001/Coffee-Formatter.git/': Failed connect to github.com:443; No error                                                                                                                                                                           
npm ERR! Error: Command failed: fatal: unable to access 'https://github.com/Glavin001/Coffee-Formatter.git/': Failed connect to github.com:443; No error
npm ERR!
npm ERR!     at ChildProcess.exithandler (child_process.js:648:15)
npm ERR!     at ChildProcess.emit (events.js:98:17) 
npm ERR!     at maybeClose (child_process.js:756:16)
npm ERR!     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>  

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\ProgramData\\chocolatey\\lib\\Atom.0.140.0\\tools\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\bin\\\\node.exe" "C:\\ProgramData\\chocolatey\\lib
\\Atom.0.140.0\\tools\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\ProgramData\\chocolatey\\lib\\Atom.0.140.0
\\tools\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\.apmrc" "--userconfig" "C:\\Users\\munio\\.atom\\.apmrc" "install" "C:\\Users\\munio\\.atom\\.node-gyp\\.atom\\.
apm\\atom-beautify\\0.15.1\\package.tgz" "--target=0.18.0" "--arch=ia32" "--msvs_version=2010"
npm ERR! cwd C:\Users\munio\AppData\Local\Temp\apm-install-dir-114929-17944-qyqtz8
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.4
npm ERR! code 128
npm
@Glavin001 Glavin001 self-assigned this Oct 29, 2014
@Glavin001
Copy link
Owner

Duplicate of #117. @ericrange how did you get around this?

I am not behind a proxy and so I am unable to reproduce this issue. I'd recommend you take a look at atom/atom#2268 (comment) and hopefully something works for you. If you do find a solution, please post it here so others can use it, too.

@Glavin001 Glavin001 changed the title Installing atom-beautify@0.15.1 failed Installing atom-beautify@0.15.1 behind a proxy failed Oct 29, 2014
@emcek
Copy link
Author

emcek commented Oct 29, 2014

Tired, try several things, no success:

npm config set https_proxy="http://server:8080"
npm config set https-proxy="http://server:8080"
npm config set proxy="http://server:8080"
npm config set http_proxy="http://server:8080"

I connect without proxy remove:

npm config delete http-proxy
npm config delete https-proxy
npm config delete http_proxy
npm config delete https_proxy

and proxy settings from .apmrc and of course it worked

@ericrange
Copy link

still have the problem^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants