I can't install or update any packege any more


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


See if this helps:


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.