How to import github repositories into Atom editor?

There is an import package in the Atom editor that should allow the user to import github repositories into Atom, here: https://atom.io/packages/import

I tried and it did not work and gave me this error:

Uncaught TypeError: Cannot read property 'projectHome' of undefined 

A problem was also raised, but did someone else have the same problem and know how to solve it? My system is Ubuntu 14.04.1

How to import Github repositories into Atom editor?

I tried to delete the ~/.atom/config file, but it does not exist:

 alvas@ubi :~/.atom$ ls compile-cache config.cson nohup.out packages storage 

I tried to remove config.cson and the same error. When I tried grep for ProjectHome, I got:

 alvas@ubi :~/.atom$ grep -nRHI projectHome * compile-cache/coffee/5047aaae22a3f9ac99b5d85d388d780b7e76a729.js:96: workspace = atom.config.settings.core.projectHome; compile-cache/coffee/5047aaae22a3f9ac99b5d85d388d780b7e76a729.js:97: defaultWorkspace = atom.config.defaultSettings.core.projectHome; packages/import/lib/import-view.coffee:41: workspace = atom.config.settings.core.projectHome packages/import/lib/import-view.coffee:42: defaultWorkspace = atom.config.defaultSettings.core.projectHome 
+5
source share
1 answer

You can try to make sure that the problem has disappeared, a similar solution, for example issue 3845 :

Hm, the problem disappeared after I delete my ~/.atom/config .
I don’t remember if I installed something there with my hands - I suggested that some local installed package did something: (

You can see a similar error in Atom.project.path (cannot call the undefined path in the test) , which indicates that not every variable is.

0
source

Source: https://habr.com/ru/post/1204971/


All Articles