-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
module 'lua-utils' not found (on LunarVim) #1530
Comments
Hi, do you have |
@NTBBloodbath i have it installed and working |
I notice your modules are using the 'core.norg.*' names. I saw in the docs that those were replaced. Try updating them to be: I don't remember where I found that breaking change, but it was mentioned somewhere. I also see your Obsidian workspace is pointed at the root directory, which may be a typo. If that is supposed to be in your home directory, prepend a tilde (~). Here is your config with those three changes:
|
Hello, I'm experiencing a similar issue
Configurations tried:
{
"nvim-neorg/neorg",
lazy = false,
version = "*",
config = true,
}
{
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
dependencies = {
"nvim-lua/plenary.nvim",
},
lazy = false,
version = "*",
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "C:/Users/YourUserName/Documents/notes",
},
},
},
},
}
end,
}
{
"nvim-neorg/neorg",
config = function()
require("neorg").setup({
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
my_workspace = "~/notes",
--obsidian = "~/Obsidian",
},
default_workspace = "notes",
},
},
},
})
end,
} Error received with all configurations:
Additional information:
🥲🥲 |
the problem is that lunarvim has pinned an old lazy.nvim version which isn't compatible with the current setup for neorg |
I found a method that might works
|
Adding the 2 dependencies fixed it for me and seems to be working just fine: {
"nvim-neorg/neorg",
dependencies = {
-- "luarocks.nvim",
"nvim-neorg/lua-utils.nvim",
"pysan3/pathlib.nvim",
},
... I do have rocks on my computer but now and then some other plugin faces issues with rocks, that's why I disabled that first dependency. |
Those 2 dependencies fixed it for me as well. |
Hello, I had the same problem until I found that I've disabled luarock from my Lazy configuration.
With that, the installation of those 2 modules will be added automatically Hope it will work for all of you! |
You refer to rocks (not lazy) doing it automatically? Yeah I know, in fact on my personal computer I have it working fine. But the thing is, rocks is a pain to make it work properly. Last week after getting my work computer replaced I got sick of losing hours on it so added them manually. ps: I don't use any distrubution, I'm building my own so I don't have the luxury of someone else configuring it for me. I read somewhere the biggest benefit of rocks would be dep management? Updates management? I don't see why Lazy is not enough for this, for me it works great in both situations. I hope someday rocks become so easy and friendly to use as Lazy is. |
The reason is that the user has to manage the dependencies also see motivation for rocks.nvim |
Prerequisites
Neovim Version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478 Run "nvim -V1 -v" for more info
Neorg setup
{
"nvim-neorg/neorg",
config = function()
require('neorg').setup {
load = {
["core.defaults"] = {}, -- Load all the default modules
["core.norg.concealer"] = {}, -- Allows for use of icons
["core.norg.dirman"] = { -- Manage your directories with Neorg
config = {
workspaces = {
my_workspace = "~/notes",
obsidian = "/Obsidian"
},
default_workspace = "notes"
},
},
}, -- Your Neorg configuration
}
end,
}
Actual behavior
i can't call :Neorg command
Expected behavior
.
Steps to reproduce
.
Potentially conflicting plugins
No response
Other information
No response
Help
None
Implementation help
No response
The text was updated successfully, but these errors were encountered: