Skip to content
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

Error while downloading blink.cmp pre-built binary: Unknown error while getting pre-built binary. Consider re-installing #44

Closed
idelice opened this issue Oct 8, 2024 · 5 comments

Comments

@idelice
Copy link

idelice commented Oct 8, 2024

Config

return {
  "saghen/blink.cmp",
  lazy = false, -- lazy loading handled internally
  -- optional: provides snippets for the snippet source
  dependencies = "rafamadriz/friendly-snippets",

  -- use a release tag to download pre-built binaries
  version = "v0.*",
  -- OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
  -- build = 'cargo build --release',

....
@tarkin88
Copy link

tarkin88 commented Oct 8, 2024

You need to specify a version or use a nightly support. Change to:

return {
  "saghen/blink.cmp",
  lazy = false,
  dependencies = "rafamadriz/friendly-snippets",
  v0.2.1

@hans-chrstn
Copy link

am i doing something wrong here?

return {
  'saghen/blink.cmp',
  lazy = false, -- lazy loading handled internally
  dependencies = 'rafamadriz/friendly-snippets',
  version = 'v0.2.0',

  opts = {
    highlight = {
      use_nvim_cmp_as_default = true,
    },
    nerd_font_variant = 'normal',
  }
}

I've already tried using versions v0.2.0 and v0.2.1 with no luck. i'm using nixos if it helps

@idelice
Copy link
Author

idelice commented Oct 9, 2024

You need to specify a version or use a nightly support. Change to:

return {
  "saghen/blink.cmp",
  lazy = false,
  dependencies = "rafamadriz/friendly-snippets",
  v0.2.1

Please see my attached config. It has already version defined, but somehow the error is gone now. Idk what's happening... i'm getting one error after another using this plugin

@Saghen
Copy link
Owner

Saghen commented Oct 9, 2024

@hans-chrstn I noticed nixvim in your config in which case you should be able to use the flake in the repo, rather than prebuilt binaries

@idelice Send over the ~/.local/share/nvim/lazy/blink.cmp folder so I can have a look around. Also double check that neovim has access to curl and git

@Saghen
Copy link
Owner

Saghen commented Oct 15, 2024

Merging this with #68 since both are related to download failing

@Saghen Saghen closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants