Open avonmoll opened 1 week ago
For me installing the parser fails with
`lua5.1` or `lua` version `5.1` not installed
`lua` version `5.1` needed, but found `Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio`
This plugin requires `luarocks`. Try one of the following:
- fix your `luarocks` installation
- enable `hererocks` with `opts.rocks.hererocks = true`
- disable `luarocks` support completely with `opts.rocks.enabled = false`
@jan-xyz
For me installing the parser fails with
`lua5.1` or `lua` version `5.1` not installed `lua` version `5.1` needed, but found `Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio` This plugin requires `luarocks`. Try one of the following: - fix your `luarocks` installation - enable `hererocks` with `opts.rocks.hererocks = true` - disable `luarocks` support completely with `opts.rocks.enabled = false`
Do you have luarocks installed?
Yes, I do, I also checked and it's on the PATH and I can run it from there and the Lazy.nvim health check also can find it.
lua version 5.1 needed, but found Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio
Hmm I wonder why it's telling you to downgrade your lua version 🤔
Yes, I do, I also checked and it's on the PATH and I can run it from there and the Lazy.nvim health check also can find it.
Do you have the luarocks.nvim
plugin installed aswell?
@jan-xyz - I had a similar issue when trying to install luarocks.nvim
. I ended up doing brew install luajit
in order to get that installed. I'm not certain whether or not that issue is related to the errors I posted above.
@jan-xyz - I had a similar issue when trying to install
luarocks.nvim
. I ended up doingbrew install luajit
in order to get that installed. I'm not certain whether or not that issue is related to the errors I posted above.
oh sorry, then please disregard my case. I will split it out if I cannot figure it out. I have luajit install and it is still broken :(
Do you have the luarocks.nvim plugin installed aswell?
I am using the latest lazy.nvim version and according to the announcement by folke on Reddit, it's not needed anymore? I will dig a bit and see if there is something wrong and then open a separate issue since this seems to be about some other error.
https://www.reddit.com/r/neovim/comments/1dng1d6/lazynvim_110_is_released_packages_luarocks_and/
EDIT: just found this GitHub issue and it is a problem on lazy.nvim side.
lua version 5.1 needed, but found Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio
Hmm I wonder why it's telling you to downgrade your lua version 🤔
because they need to "downgrade their lua version"...
Just install lua5.1 and it'll work. Reason being that lua5.1 is the version that's compatible with neovim, so that's what lazy checks for. It's possible for lazy to update and require lua5.1 or luajit, but that's not the case last I checked (like 2 days ago).
Reason being that lua5.1 is the version that's compatible with neovim
But Lua v5.3.6 works for me
But Lua v5.3.6 works for me
well then that's nice for you but still the official version for neovim is 5.1
Prerequisites
Neovim Version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068 Run "nvim -V1 -v" for more info
Neorg setup
Actual behavior
Running
:Neorg sync-parsers
results in errors when I run:checkhealth nvim-treesitter
like the following:Expected behavior
No errors when compiling/installing parsers.
Steps to reproduce
Running on an M3 mac:
Potentially conflicting plugins
No response
Other information
No response
Help
None
Implementation help
No response