安装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

问题解决!

 

附上截图:

 

 

posted on 2019-09-29 09:53  仗帅闯江湖  阅读(294)  评论(0编辑  收藏  举报

导航