Skip to content

Instantly share code, notes, and snippets.

@RinatMullayanov
Created May 6, 2015 06:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RinatMullayanov/0102e63a8b5a519c1eb4 to your computer and use it in GitHub Desktop.
Save RinatMullayanov/0102e63a8b5a519c1eb4 to your computer and use it in GitHub Desktop.
Atom: Unable to install packages behind corporate proxy https://github.com/atom/apm/issues/322
Seems that node-gyp isn't following the 302 Redirect sent by atom.io.
@fujisaks Thanks for pointing to the problem!
I've been able to workaround the issue by setting the ATOM_NODE_URL env variable to the new url (after redirect ). This should also be working after you update Atom. However, remove the entry when the bug gets fixed!
Windows temporary:
set ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
Windows permanently:
setx ATOM_NODE_URL http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist /M
Linux
export ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment