yqrashawn / GokuRakuJoudo

config karabiner with ease
GNU General Public License v3.0
1.14k stars 121 forks source link

Unable to generate or find config file #164

Closed karanrajpal14 closed 2 years ago

karanrajpal14 commented 2 years ago

Hello,

I just installed goku on my MB Pro 2020 with MacOS 11.6.4 Big Sur and I can't seem to find a way to get this to work.

I did the standard installation with brew but when I try to create the config, I get the following error:

❯ goku -c ~/.config/karabiner/karabiner.edn
The following errors occurred while parsing your command:
Failed to validate "-c ~/.config/karabiner/karabiner.edn": Make sure the file is exits and readable

I did verify if the file was created and it looks like it was. image

But for some reason, goku seems to be unable to read the file. Also, I've set up the necessary env variable in my .zshrc as well but that doesn't seem to be helping. export GOKU_EDN_CONFIG_FILE="~/.config/karabiner/karabiner.edn"

When I try to force goku to generate the config json, I see the following error:

❯ goku
Syntax error in config:
Error:  open ~/.config/karabiner/karabiner.edn: no such file or directory

I'm not sure if I'm doing something wrong here. Would you please help me out?

Thank you!