Unable to install packages on Mac

#1

I am unable to search for or install any packages in Atom

Both atm and the UI fail in the same way

% apm install uber-juno
Installing uber-juno to /Users/peter/.atom/packages ✗
Request for package information failed: getaddrinfo ENOTFOUND atom.io atom.io:443 (ENOTFOUND)

My machine is

MacBook Pro (Retina, 15-inch, Mid 2015)
Mojave 10.14.1 18B75

and I am running at home with a Comcast connection

Any ideas?
Thanks
P

#2

OK, it was something with my machine. Restarting in safe-mode followed by a normal restart fixed it.
Thanks