Amp init --theme --convert does not work


#1

I’m using Atom for many monthes. And I’ve created my custom theme. Unfortunatly I’ve created it only on my local machine. I’ve choosen it some time ago and today I decided to try some other theme changing it in settings. When I’ve changed to another theme - it has changed, but when I wanted to change back to my custom theme, I found out that my custom theme was replaced with Atom Dark. I’ve checked files in c/users/username/github folder and they realy were replaced with Atom Dark. I have not expected this behaviour at all. Is there a way to restore files?

Now I want to recreate my custom theme. Last time i have converted it successfully but I do not remember how. Now I get this error when run command: apm init --theme gingern --convert GingerN-dark.tmTheme. Please advice, how can I convert theme.

    apm init --theme gingern --convert 'GingerN-dark.tmTheme'
    module.js:597
    return process.dlopen(module, path._makeLong(filename));
                     ^

    Error: The specified module could not be found.
    \\?\C:\Users\Анастасия\AppData\Local\atom\app-1.17.2\resources\app\node_modules\oniguruma\build\Release\onig_scanner.node
        at Error (native)
        at Object.Module._extensions..node (module.js:597:18)
        at Module.load (module.js:487:32)
        at tryModuleLoad (module.js:446:12)
        at Function.Module._load (module.js:438:3)
        at Module.require (module.js:497:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\Анастасия\AppData\Local\atom\app-1.17.2\resources\app\node_modules\oniguruma\lib\oniguruma.js:4:17)
        at Object.<anonymous> (C:\Users\Анастасия\AppData\Local\atom\app-1.17.2\resources\app\node_modules\oniguruma\lib\oniguruma.js:69:4)
        at Module._compile (module.js:570:32)