oberblastmeister / neuron.nvim

Make neovim the best note taking application
MIT License
398 stars 34 forks source link

Errors with Shake build system #24

Closed e-cal closed 3 years ago

e-cal commented 3 years ago

When I try using any of the functions I get errors. I have all the dependecies and the neuron binary is executable so I'm not sure what the problem is.

Here is the error when I try to make a new note:

Error executing vim.schedule lua callback: .../site/pack/packer/start/neuron.nvim/lua
/neuron/utils.lua:27: Vim(echoerr):An error occured from running neuron new: [Rib] Un
handled exception when building <unknown>: Error when running Shake build system:
Error executing vim.schedule lua callback: .../site/pack/packer/start/neuron.nvim/lua
/neuron/utils.lua:27: Vim(echoerr):An error occured from running neuron new:   at act
ion, called at src/Development/Shake/Forward.hs:123:5 in shake-0.19.1-Jffais3OOiA8eQQ
KIWz97P:Development.Shake.Forward
Error executing vim.schedule lua callback: .../site/pack/packer/start/neuron.nvim/lua
/neuron/utils.lua:27: Vim(echoerr):An error occured from running neuron new: * Raised
 the exception:
Error executing vim.schedule lua callback: .../site/pack/packer/start/neuron.nvim/lua
/neuron/utils.lua:27: Vim(echoerr):An error occured from running neuron new: user err
or (not a neuron notes directory (no neuron.dhall found under /home/ecal/notes))
Error executing vim.schedule lua callback: .../site/pack/packer/start/neuron.nvim/lua
/neuron/utils.lua:27: Vim(echoerr):An error occured from running neuron new:
e-cal commented 3 years ago

Adding a blank file neuron.dhall fixed the issue. I see now the neuron docs mention this is required. Might be useful to mention that in the readme for this project.