Open mairs8 opened 3 weeks ago
2024-08-24T15:51:08 lazy.nvim ERROR Failed to run `config
` for neorg
...ome/.local/share/nvim/lazy/neorg/lua/neorg/core/init.lua
:7: module 'lua-utils' not found:
no field package.preload['lua-utils']
cache_loader: module lua-utils not found
cache_loader_lib: module lua-utils not found
no file './lua-utils.lua'
no file '/data/data/com.termux/files/usr/share/luaj
it-2.1/lua-utils.lua'
no file '/usr/local/share/lua/5.1/lua-utils.lua'
no file '/usr/local/share/lua/5.1/lua-utils/init.lu
a'
no file '/data/data/com.termux/files/usr/share/lua/
5.1/lua-utils.lua'
no file '/data/data/com.termux/files/usr/share/lua/
5.1/lua-utils/init.lua'
no file './lua-utils.so'
no file '/usr/local/lib/lua/5.1/lua-utils.so'
no file '/data/data/com.termux/files/usr/lib/lua/5.
1/lua-utils.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
# stacktrace:
- /neorg/lua/neorg/core/init.lua:7
- /neorg/lua/neorg/init.lua:5
- lua/plugins/neorg.lua:8 _in_ **config**
- lua/config/lazy.lua:10
- init.lua:1
Getting a similar error on termux android.
I found a method that might works
this would just be a workaround around some error with your setup
Yeah maybe, I have mutilple machine with same config, this problem occurs when I setup a new machine, old machine with newest neorg no problem, so I figure I can just install the old version and then update it. My probelm related issue is #1530.
I know the issue that happens
but this is due to a problem with your setup (one of the causes could be missing luarocks
) and this is just a hack that happens to work
Prerequisites
Neovim Version
NVIM v0.10.1 Build type: Release LuaJIT 2.1.1713773202
Neorg setup
require("neorg").setup()
Actual behavior
When i launch neovim on my nixos machine i get the following error. The :neorg command is not available.
Expected behavior
i should be able to launch neovim without error and run neorg.
Steps to reproduce
On unstable version of nixos, install the latest
neovim
andneorg
packages from the nix store and launch neovim in terminal withnvim
.Potentially conflicting plugins
No response
Other information
No response
Help
None
Implementation help
No response