When I use the command :CocInstall clangd to install coc-clangd, it will throw the following error:

[Coc.nvim] Error on install coc-clangd: AggregateError

Why do I get this error?

OS: Archlinux
Editor: NeoVim v0.9.2
Plugin manager: vim-plug
node: 20.8.0
npm: 10.2.0

  • Did you install clandg first? Oct 9, 2023 at 13:12
  • Has https://registry.npmjs.org been blocked by Firewall ? Put coc.nvim:registry={URL} to the end of ~/.npmrc, and {URL} need to be replaced by a reachable mirror url.
    – hivoid
    Dec 15, 2023 at 6:21

1 Answer 1


In order for coc-clangd to be installed you need first to install clangd itself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.