-
-
Notifications
You must be signed in to change notification settings - Fork 961
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
Coc in infinite loop for installing extensions #1902
Comments
I've let it run for about 10 minutes and nothing changed. For the hell of it I'll just remove |
Removed both Running I added the |
Try disable proxies from env or add |
Fixes the issue of coc.nvim doing the auto install out the gate of opening the file, but it does not fix the issue of the infinite download. Running |
Nope. Been about 10 minutes since I started the download. |
Hi, I think I have the same problem, I try to install clangd:
But the extension is not installed (it's not present when I check with In the node_modules I just see a file
|
I have the same problem as above, I am also on Void linux like @The-BigDaddy On a fresh Install, running :CocInstall coc-css or coc-css or anything keeps in downloading forever and never finishes. Please reopen the issue as it clearly is not fixed yet. |
I'm thinking this is an NPM issue actually. Complete reinstall node (and npm if your distro's package manager does not ship it with node), and try running For me, I got an error that said Though, I would recommend you set some of the node/npm environment variables so you never have to run POSIX Shell: export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_RUNTIME_DIR="$HOME/.runtime"
export NPM_PACKAGES="$XDG_DATA_HOME/npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules"
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" Fish Shell: set -x XDG_CONFIG_HOME "$HOME/.config"
set -x XDG_CACHE_HOME "$HOME/.cache"
set -x XDG_DATA_HOME "$HOME/.local/share"
set -x XDG_RUNTIME_DIR "$HOME/.runtime"
set -x NPM_PACKAGES "$XDG_DATA_HOME/npm-packages"
set -x NODE_PATH "$NPM_PACKAGES/lib/node_modules"
set -x NPM_CONFIG_USERCONFIG "$XDG_CONFIG_HOME/npm/npmrc" The log with the error I get (the log is in
If you both get the same issue, then it is now justifiable that this issue is closed. |
In doubt I updated my node version to the latest current |
It's bugling my mind, I installed coc.nvim on my work computer today, on a void Linux installation that is exactly the same as my home computer, and it worked fine, but it won't work in my home computer. |
@chemzqm this issue seems to not be fixed. Please reopen the issue. |
Try |
@fannheyward that changes nothing in the context of npm itself. |
@daern91 please provide the log opened by |
Apparently you network get blocked when requesting https://registry.npmjs.org/coc-snippets |
Running myself |
Fixes with updating Void Linux's version of Node. *Sighhhhh* |
Same thing, got fixed after updating the Node version after running `xbps-install -Su' thank you very much. |
@The-BigDaddy @ronniedroid what's the wrong node version when you occur this issue? |
Should be network issue. On master branch, I've add timeout support and new UI for extension install status, check messages in window or check the log by |
Result from CocInfo
Describe the bug
Upon opening any filetype (after the recent update) I've set coc to be used in, the window will split with the
[Scratch]
buffer with coc trying to install a couple of extensions. It tries to installcoc-snippets
andcoc-elixir
. I've even removed coc from theplugged
directory and reinstalled and it does the same thing.Reproduce the bug
Create file
mini.vim
with:vim -u mini.vim mini.vim
to edit thevim
file (though anyvim
file, or file for any language in the Plugfor
statement works)Operate vim.
Window will split with coc in a scratch buffer "installing" coc-snippets and coc-elixir
Screenshots
Screenshot with
mini.vim
above runningvim -u mini.vim mini.vim
Screenshot with just using my personal config (opening the
mini.vim
)EDIT:
From
:CocOpenLog
The text was updated successfully, but these errors were encountered: