[coc.nvim] build/index.js not found, please install dependencies and compile coc.nvim by: yarn insta

文章目录

  • [coc.nvim] build/index.js not found, please install dependencies and compile coc.nvim by: yarn install
    Press ENTER or type command to continue
    • 解决方案
    • 命令执行结果如下图
  • 参考文献

[coc.nvim] build/index.js not found, please install dependencies and compile coc.nvim by: yarn install
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 install dependencies and compile coc.nvim by: yarn insta_第1张图片
在这里插入图片描述

[coc.nvim] build/index.js not found, please install dependencies and compile coc.nvim by: yarn insta_第2张图片
在这里插入图片描述
在这里插入图片描述

参考文献

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

Yarn shows command not found

你可能感兴趣的:(vim,错误解决方法,vim,linux)