Closed uhooi closed 1 month ago
@uhooi Could you try https://github.com/vim-denops/denops.vim/pull/374 and rewrite the error message on PR? Additionally, please put the result of :mes
@lambdalisue New error.
It was on toggle, not on startup :pray:
[denops] Failed to load plugin 'skkeleton': TypeError: Could not find version of '@std/path' that matches specified version constraint '0.225.2'
[denops] at file:///Users/uhooi/.local/share/nvim/lazy/skkeleton/denops/skkeleton/deps/std/path.ts:1:15
Too many errors. Disabling Noice
Error detected while processing function skkeleton#handle[1]..skkeleton#request[2]..denops#request[1]..denops#_internal#server#chan#request[6]..denops#_intern
al#rpc#nvim#request:
line 1:
Error invoking 'invoke' on channel 4 (denops):
Error: Failed to call handle("toggle", {}, {"prevInput":"","completeInfo":{"pum_visible":0,"mode":"","selected":-1,"items":[]},"mode":"i","completeType":"nati
ve"}) in skkeleton: this[#denops].dispatcher[fn] is not a function
at Plugin.call (file:///Users/uhooi/.local/share/nvim/lazy/denops.vim/denops/@denops-private/service.ts:181:13)
at Service.#dispatch (file:///Users/uhooi/.local/share/nvim/lazy/denops.vim/denops/@denops-private/service.ts:88:25)
at Service.dispatch (file:///Users/uhooi/.local/share/nvim/lazy/denops.vim/denops/@denops-private/service.ts:93:34)
at invoke (file:///Users/uhooi/.local/share/nvim/lazy/denops.vim/denops/@denops-private/host.ts:78:22)
at Object.invoke (file:///Users/uhooi/.local/share/nvim/lazy/denops.vim/denops/@denops-private/host/nvim.ts:31:16)
at dispatch (https://deno.land/x/messagepack_rpc@v2.0.3/dispatcher.ts:36:36)
at Session.#dispatch (https://deno.land/x/messagepack_rpc@v2.0.3/session.ts:244:28)
at Session.#handleRequestMessage (https://deno.land/x/messagepack_rpc@v2.0.3/session.ts:271:53)
at Session.#handleMessage (https://deno.land/x/messagepack_rpc@v2.0.3/session.ts:255:37)
at Object.write (https://deno.land/x/messagepack_rpc@v2.0.3/session.ts:159:63)
$ git log -1
commit 4c40f7d331fc186b75e066a2cebb0073595da08b (HEAD -> improve-call-error-message, origin/improve-call-error-message)
Author: Alisue <lambdalisue@gmail.com>
Date: Mon Jun 24 14:18:14 2024 +0900
:+1: Improve error message of `call`
Close #373
@uhooi Not sure but it seems the reason is same with https://github.com/vim-denops/denops.vim/issues/358. Could you try :call denops#cache#update(#{reload: v:true})
?
@lambdalisue I ran the command and it fixed it. Thank you.
Describe the bug
When Neovim starts:
When Skkeleton starts:
Provide a minimal vimrc with less than 50 lines to reproduce
How to reproduce the problem from Vim startup
None.
Expected behavior
Skkeleton starts without error.
Actual behavior
Error when starting Skkeleton.
Screenshots (if need)
None.
Your environment
uname -a
(macOS/Linux) orver
(Windows)deno --version
vim --version
ornvim --version
Denops version:
git log -1
(run in the denops.vim repository)Additional context
None