Closed voldikss closed 4 years ago
I'm still getting the exact same output when running :PlugUpdate
. Running the latest from master
.
Sorry, bad commit.
I'm still seeing this with latest commit de70457
@tombh you didn't compile the code.
I've done yarn install --frozen-lockfile
, is there something else I need to do?
@tombh rm -rf build
Thank you. Sorry about this. I removed the entire ~/.config/nvim/plugged/coc.nvim
folder, ran yarn install --frozen-lockfile
and I still see the same error messages on neovim boot.
Edit: of course I ran git clone
after removing the coc.nvim folder
I will make some change to avoid this issue, this could be happened after switch branch of coc.nvim.
Checkout coc.nvim version by :CocInfo
looks like your activated coc.nvim is not what you just downloaded.
Thank you. I get this:
vim version: NVIM v0.4.3
node version: v12.16.1
coc.nvim version: 0.0.78
coc.nivm directory: /home/tombh/.config/nvim/plugged/coc.nvim
term: screen-256color
platform: linux
And still after recent updates I get all the
Edit: My error is different! I'm so sorry for not noticing sooner. My errors are like this: [coc.nvim] Can't load extension from "/home/user/.config/nvim": package.json not found in: /home/user/.config/nvim
errors in status, that I need to press Enter on multiple times.[coc.nvim] Can't load global extension from "/home/tombh/.config/coc/extensions/node_modules/coc-json": package.json not found
You have to reinstall your broken extension
Ok. How did I break them?
I don't know
I had the same message until I deleted my ~/.config/coc folder
.
Check permissions on your folders. In my case, this error was caused by an incorrect chmod
.
Check permissions on your folders. In my case, this error was caused by an incorrect
chmod
.
++, at least, my .vim
folder and others were owned by system. Had to change the ownership of my .vim
folder to my user. Everything after that went smoothly.
Result from CocInfo
Describe the bug
After 14623e1ca36254fc9271c3bf20a60fe92aa2f0bd, every time when I use
:Startify
coc throws the following messages:I put all my coc extension only in
~/.config/coc
, the directory~/.cache/nvim/plugged
is only used for vim plugins(coc.nvim, vim-startify, etc.). Coc shouldn't look for coc extensions from my vim plugins location.Reproduce the bug
Create file
mini.vim
with:Start (neo)vim with command:
vim -u mini.vim
Operate vim.
Input
:Startify
and type Enter.Possible causes
Might be caused by the following lines
https://github.com/neoclide/coc.nvim/blob/9704f8d076426177dcbd92067dc76bafa266f852/src/extensions.ts#L102-L111
Since I use lazy loading provided by vim-plug. Once I use
:Startify
, vim-plug adds vim-startify path to&runtimepath
. Once theruntimepath
was changed, that event got fired and coc began toloadExtension
from one of my&runtimepath
...But I don't know how to fix it. I disabled this line for a temporary fix. https://github.com/neoclide/coc.nvim/blob/9704f8d076426177dcbd92067dc76bafa266f852/src/extensions.ts#L452 Please help.