In China, we cannot reach "https://registry.npmjs.org/"
AFUL1991 opened this issue · 2 comments
Result from CocInfo
Describe the bug
A clear and concise description of what the bug is.
I'm from China, but I cannot use the command of :CocInstall coc-clangd
to install coc-clangd. Because of the GFW, we cannot reach "https://registry.npmjs.org/", and I don't know how to change the source to the mirror source in China.
Reproduce the bug
We will close your issue when you don't provide minimal vimrc and we can't
reproduce it
-
Create file
mini.vim
with:set nocompatible set runtimepath^=/path/to/coc.nvim filetype plugin indent on syntax on set hidden
-
Start (neo)vim with command:
vim -u mini.vim
-
Operate vim.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
You can setup proxy, check :h coc-config-http, or change npm register, check :h coc-config-npm.
You can setup proxy, check :h coc-config-http, or change npm register, check :h coc-config-npm.
thank you, i will try it tomorrow