lewis6991 / impatient.nvim

Improve startup time for Neovim
MIT License
1.19k stars 28 forks source link

Error on startup: bad argument to 'loadlib' (string expected, got table) #45

Closed farbodsz closed 2 years ago

farbodsz commented 2 years ago

After updating impatient.nvim to the most recent commit, I get this error on startup:

E5108: Error executing lua
.../site/pack/packer/start/impatient.nvim/lua/impatient.lua:167: bad argument #1
to 'loadlib' (string expected, got table)

If I use the commit just before the most recent one (282b99b817d61e6c6860addf5629b641925a937a), I don't get this, so I'm guessing 8ba91e23cb1f9557106eafa31bb5075f7c4cbf50 caused the break.

NVIM version:

NVIM v0.7.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-8Xgljg/neovim-0.6.0~ubuntu1+git202112241248-0d7a97224-adeb5640f=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim-8Xgljg/neovim-0.6.0~ubuntu1+git202112241248-0d7a97224-adeb5640f/build/config -I/build/neovim-8Xgljg/neovim-0.6.0~ubuntu1+git202112241248-0d7a97224-adeb5640f/src -I/build/neovim-8Xgljg/neovim-0.6.0~ubuntu1+git202112241248-0d7a97224-adeb5640f/.deps/usr/include -I/usr/include -I/build/neovim-8Xgljg/neovim-0.6.0~ubuntu1+git202112241248-0d7a97224-adeb5640f/build/src/nvim/auto -I/build/neovim-8Xgljg/neovim-0.6.0~ubuntu1+git202112241248-0d7a97224-adeb5640f/build/include
Compiled by buildd@lcy02-amd64-012

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info