I can't install or update any packege any more


#1

getting error like this one for any package

Installing “atom-beautify@0.32.5” failed.Hide output…
Unable to download https://www.atom.io/api/packages/atom-beautify/versions/0.32.5/tarball: self signed certificate in certificate chain


#2

See if this helps:


#3

Note that the URL https://**www.**atom.io/api/packages/atom-beautify/versions/0.32.5/tarball does not point to a valid page (open it in a browser and you will notice it). If you remove the *www. prefix then it works.

Edit the $HOME/.atom/packages/atom-beautify/package.json and remove *www. from the URLs.

This worked for me.