-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Troubleshooting Guide #498
Comments
lazy.nvim
)
Even though checkhealth tells me everything is ok, I still have trouble running requests, when three or four months ago it was working fine. :checkhealth lazy lazy: require("lazy.health").check() lazy.nvim ~
luarocks ~
I'm not sure if I should reopen #537, or create a new issue, or do something else. |
Yes. That's the error message I get.
Even though I get ok when |
As I answered your questions, I remembered that I had installed neovim using homebrew, so I decided to install luarocks also using homebrew, just in case. Now
The error message is still the same, though. |
@uchoa The system luarocks & lua version should not matter because lazy will automatically install them. Actually I'd recommend to not install both I wonder why lazy.nvim didn't throw an error during installation... 🤔 Can you reproduce it with this minimal config? vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
rocks = {
hererocks = true,
},
spec = {
"rest-nvim/rest.nvim",
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
main = "nvim-treesitter.configs",
opts = {
ensure_installed = { "http" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
},
},
},
}) If this works, try setting Edit: fixed typo in |
rocks.hererocks is already true in my lazy config. But I'll try your suggestion and bring the feedback here. |
Similar error. I had to manually install luarocks to make this work. And I have lazy ^11.17. |
@CudaSlayer Do you still have to install luarocks while setting |
@boltlessengineer Didn't test it. I just used the snippet that was in the readme:
Then I ran into a plethora of errors after installing rest. Then I had to manually install |
@CudaSlayer uninstall rest.nvim and try reinstall it with |
Related: #463 #477 #493 #497
I wrote an installation troubleshooting guide to help people having issues while installing this plugin.
Feel free to open a new issue if you still have any issue after following this guide!
The text was updated successfully, but these errors were encountered: