-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install extensions. #2127
Comments
|
They both don't work. As I understand it dig does not work if you are behind a proxy (which I am).
ping:
If anything node-related would not work I would kind of understand it, but as of now I only have problems while installing coc extensions. Installing node neovim provider ( |
You can use
|
I still have this issue, even in a freshly installed VM. I still use a proxy, but that is not an issue in any other apps. Please note that in the last answer I mentioned that npm itself has no problems, only while issuing CocUpdate it does not work. It is still the same. Details: If I navigate to this directory and try to update this extensions with The error has changed (as I said I have a new VM now), for example
If I hover over the last line:
CocInfo:
With npm it works:
Can you have a look at this? |
I had the same problem and just adding the manual ip worked for me. Try with that: echo "104.16.17.35\tregistry.npmjs.org" >> /etc/hosts And then try to install again. |
You can use other registries according to To customize npm registry for coc.nvim add
|
Result from CocInfo
versions
vim version: NVIM v0.5.0-579-g1920ba4b5
node version: v14.4.0
coc.nvim version: 0.0.78-55ff49c9b7
coc.nvim directory: /home/samir/.local/share/nvim/plugged/coc.nvim
term: st-256color
platform: linux
Describe the bug
If I try to install a new extension with
CocInstall coc-java
i get following message in new buffer (using mini.vim):Navigating to the second line gives a modal with following message:
CocOpenLog:
I am not sure since when this bug appeared. It could be after I removed/reinstalled node/npm (ubuntu 20.04). It seems to be related to the network, but npm install works fine (I am behind corporate proxy with proxy configured), for example
npm install -g neovim
.I have already reinstalled coc.nvim, node/npm. I tried removing everything node related to have a fresh installation, did not help.
Since I have this problem only with coc, but (apparently) not with node in general (or any other neovim plugins), I kindly ask if you have an idea what I could look at to tackle this issue.
Reproduce the bug
Since it did work some time ago, I am pretty sure this is not reproducible for others. I must have screwed something up.
The text was updated successfully, but these errors were encountered: