安裝coc.nvim時 報[coc.nvim] javascript file not found 錯誤的解決方案

使用vim-plug安裝coc.nvim,按照官網說明在.vimrc中配置如下:

Plug 'neoclide/coc.nvim', {'branch': 'release'}

結果一直報錯。

錯誤提示:

[coc.nvim] javascript file not found, please compile the code or use release branch.
Press ENTER or type command to continue
 

解決方案:

1.進入coc.nvim目錄

cd ~/.vim/plugged/coc.nvim/

2.執行install.sh

./install.sh

3.進入vim執行命令

:PlugInstall

問題解決!

 

附上截圖:

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章