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

denops can't detect latest version of Deno #400

Closed
giginet opened this issue Aug 5, 2024 · 3 comments
Closed

denops can't detect latest version of Deno #400

giginet opened this issue Aug 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@giginet
Copy link

giginet commented Aug 5, 2024

Describe the bug

I'm using Deno 1.45.5, however, denops raises 'Unsupported Deno version' error.

This is the output of :checkhealth

denops: health#denops#check

- Supported Deno version: `1.45.0`
- Supported Vim version: `9.1.0448`
- Supported Neovim version: `0.10.0`
- Detected Deno version: `1.39.4`
- ERROR Unsupported Deno version is detected. You need to upgrade it to `1.45.0` or later.
- Detected Neovim version: `0.10.1`
- OK Neovim version check: passed
- Denops status: `stopped`
- ERROR Denops is stopped. Execute `:message` command to find reasons.

I'm using Deno 1.45.5, Neovim 0.10.1 and denops 7.0.2. This issue is not reproduced with denops 6.0.11

Provide a minimal vimrc with less than 50 lines to reproduce

How to reproduce the problem from Vim startup

Expected behavior

The latest version should be detected as the supported versions.

Actual behavior

Screenshots (if need)

Your environment

  • OS: Darwin
  • Deno version: deno --version 1.45.5
  • Vim/Neovim version: vim --version or nvim --version 0.10.1
  • Denops version: git log -1 (run in the denops.vim repository) 7.0.2

Additional context

@giginet giginet added the bug Something isn't working label Aug 5, 2024
@giginet giginet changed the title denops can denops can't detect latest version of Deno Aug 5, 2024
@lambdalisue
Copy link
Member

Hum... It seems the deno binary visible from your vim is invalid. Please confirm the value of echo exepath('deno') is correct (and set g:denops#deno to the correct path if it's invalid)

https://github.com/vim-denops/denops.vim?tab=readme-ov-file#for-users

@giginet
Copy link
Author

giginet commented Aug 5, 2024

This is the full output of deno --version in my env.

deno 1.45.5 (release, aarch64-apple-darwin)
v8 12.7.224.13
typescript 5.5.2

@giginet
Copy link
Author

giginet commented Aug 5, 2024

Oops, I called echo exepath('deno') then it specified another deno executable. This issue was caused by my setup.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants