weirongxu / coc-explorer

📁 Explorer for coc.nvim
MIT License
1.14k stars 45 forks source link

Report error when enter explorer the fist time[BUG] #519

Closed zhan9hf closed 2 years ago

zhan9hf commented 2 years ago

Describe the bug

Report an error when enter explorer the fist time, it is about list diagnostic. coc-explorer version: 0.22.9 coc-diagnostic version(maybe useful): 0.23.3

Result from CocInfo

versions

vim version: NVIM v0.7.0 node version: v14.16.1 coc.nvim version: 0.0.80-3a26df0a 2022-05-04 04:30:27 +0800 coc.nvim directory: /Users/zhanghf/.vim/bundle/coc.nvim term: iTerm.app platform: darwin

Log of coc.nvim

2022-05-05T15:51:31.687 INFO (pid:77227) [configurations] - Add folder configuration from cwd: /Users/zhanghf/src/rts-lift-pcp-back/.vim/coc-settings.json 2022-05-05T15:51:31.689 INFO (pid:77227) [configurations] - Change folder configuration from cwd to: /Users/zhanghf/src/rts-lift-pcp-back/.vim/coc-settings.json 2022-05-05T15:51:31.984 INFO (pid:77227) [services] - registered service "diagnostic-languageserver" 2022-05-05T15:51:32.169 INFO (pid:77227) [coc-git] - Looking for git in: git 2022-05-05T15:51:32.183 WARN (pid:77227) [workspace] - workspace.createOutputChannel is deprecated, please use window.createOutputChannel instead. at Object. (/Users/zhanghf/.config/coc/extensions/node_modules/coc-graphql/lib/index.js:135:49) at Generator.next () 2022-05-05T15:51:32.185 INFO (pid:77227) [services] - registered service "graphql" 2022-05-05T15:51:32.190 INFO (pid:77227) [services] - registered service "highlight" 2022-05-05T15:51:32.446 INFO (pid:77227) [plugin] - coc.nvim initialized with node: v14.16.1 after 646ms 2022-05-05T15:51:32.450 INFO (pid:77227) [attach] - receive notification: runCommand [ 'explorer' ] 2022-05-05T15:51:32.799 INFO (pid:77227) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1', 'BufDelete', 2 ] 2022-05-05T15:51:32.800 INFO (pid:77227) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2', 'BufDelete', 2 ] 2022-05-05T15:51:33.953 INFO (pid:77227) [attach] - receive notification: highlight [] 2022-05-05T15:53:28.085 INFO (pid:77227) [attach] - receive notification: highlight [] 2022-05-05T15:53:32.837 INFO (pid:77227) [attach] - receive notification: showInfo []

Steps to reproduce Steps to reproduce the behavior:

  1. execute nvim
  2. :CocExplorer ...
  3. See error

Expected behavior

have no error, can display diagnostic info at the file line.

Screenshots

image

Additional context None