hammerspoon-shiftit
hammerspoon-shiftit copied to clipboard
Unable to load from Hammerspoon
Just tried to install shiftit as described in the alternative installations section
When reloading the config, I get the following error. Any ideas what I might be missing?
2021-02-27 10:26:09: *** ERROR: /Users/user/.hammerspoon/init.lua:3: attempt to index a nil value (global 'spoon') stack traceback: /Users/user/.hammerspoon/init.lua:3: in main chunk [C]: in function 'xpcall' ...app/Contents/Resources/extensions/hs/_coresetup/init.lua:702: in function 'hs._coresetup.setup' (...tail calls...)
Hi,
Could you verify if you have the right permissions set? https://github.com/peterklijn/hammerspoon-shiftit/issues/9#issuecomment-770415981
yes, permissions are granted. Rebooting didn't help either
Oh oops I just made the same issue here #16
Apologies for the delay, it looks like there is something misconfigured in your Hammerspoon config.
Could you please share the following configurations:
- The configuration of Hammerspoon, found in
~/.hammerspoon/init.lua
(you can also open it via the Hammerspoon icon in the menu bar and click on "Open Config") - The output of this command:
ls -la ~/.hammerspoon/Spoons
My guess is that the name of the installed spoon and the string in the loadSpoon
command don't match.
Will do!