Github:Clone produces error message



I am new to Atom and Ubuntu, and I am attempting to connect to my private Github repositories. However, I’m having a problem trying to clone my repository.

Here is what I have done:

  1. Installed and verified that Git works correctly (cloned one of my repositories from the command line to verify).
  2. Git email and name stored globally
  3. Created a token and installed it into my Github account.
  4. Installed and updated (as of 4/28/2018) Atom. Current version: 1.26.1
  5. Brought up the Github panel. Panel is blank
  6. Brought up Github: Clone and pasted in HTTPS URL. It ‘spun the wheel’ for about a half second, closed the dialog box, then returned me to the original screen. No changes.

Opened up Developer tools, and got this error:

:105244 Uncaught (in promise) TypeError: DOMPurify.sanitize is not a function
at /usr/share/atom/resources/app/node_modules/github/lib/controllers/root-controller.js:534:66
at Generator.throw ()
at step (/usr/share/atom/resources/app/node_modules/github/lib/controllers/root-controller.js:138:197)
at /usr/share/atom/resources/app/node_modules/github/lib/controllers/root-controller.js:138:408

Using SSH instead of HTTPS produces the same error.


I wasn’t able to reproduce when cloning on Ubuntu 16.04 and Atom 1.26.1 - cloning works ok and I don’t see any errors in console. But I do think this was fixed recently…I wonder if it’s in the beta? Can you try the latest beta and confirm if you still have the same problem?