[coc.nvim] build/index.js not found, please install dependencies and compile coc.nvim by: yarn install<br/>Press ENTER or type command to continue

报错

在这里插入图片描述

解决方案

sudo apt install nodejs
sudo npm install -g yarn
# ~/.vim/plugged/coc.nvim/是我的coc.nvim插件的安装目录
cd ~/.vim/plugged/coc.nvim/	
yarn install
yarn build

命令执行结果如下图

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

参考文献

[coc.nvim] build/index.js not found, please compile coc.nvim by: npm run build #3258

Yarn shows command not found

posted @ 2021-09-03 23:32  没有B树  阅读(4423)  评论(0编辑  收藏  举报
图像的替代文本-知乎