Closed TarunDaCoder closed 1 day ago
potential duplicate of https://github.com/nvim-neorocks/rocks-git.nvim/issues/49?
I don't think so, as the error is a bit different, and I tried doing rm -rf ~/.local/share/nvim
and re-installing rocks.nvim
but it still errors when I do :Rocks update
the error is almost the same as the one posted in this comment (just with different line numbers).
It's really confusing. On the one hand, ENOENT: no such file or directory
is thrown by vim.system
when it can't find the command (this could be luarocks
or git
or a rocks-git build
command in this case) - I really wish vim.system
would output more info about the command that failed!
On the other hand, the error appears to be thrown when calling future.set()
after successfully invoking vim.system
in rocks-git.nvim.
The confusing stack trace looks like a potential bug in nvim-nio (cc @rcarriga, I vaguely remember you fixing something similar previously).
Do you have anything in your :Rocks log
? If not, you might need to set the log level to something more verbose.
I will look into wrapping our vim.system
calls with something that produces more useful error messages soon.
@TarunDaCoder I've just pushed a release to rocks-git.nvim that should prevent panics when invoking vim.system
(the checks are already in place in rocks.nvim).
Can you run :Rocks update rocks-git.nvim
and then try again?
@mrcjkb Yup, that fixed it! Thanks man, appreciate it.
Hello, I get this error when I run
:Rocks update
But the command still runs, although it doesn't update my
rocks.toml
for some reason.rocks.nvim
version:2.40.1
neovim
version:v0.10.1
Here is my
rocks.toml
-Any help would be appreciated :D