[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 compile coc.nvim by: npm run build #3258

Yarn shows command not found


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM