Skip to content

Checkhealth telescope gives error executing Lua #3542

@JohnWilliston

Description

@JohnWilliston

Description

I installed Neovim on an Amazon Linux 2023 VM and got my normal config (which works fine on other *nix VMs, macOS, and Windows I should note) in place. I noticed it was complaining today that the telescope plugin can't grep because it says ripgrep is required (it's already installed, so I don't know why it's bitching in the first place), so I did a checkhealth telescope as I've done plenty of times before and got the following unexpected output:

E5009: Invalid $VIMRUNTIME: /opt/nvim-linux-x86_64/share/nvim/runtime
Error executing lua: function health#telescope#check, line 1: Vim(lua):E5108: Error executing lua ...m/lua/telescope/_extensions/lazy_plugins/healthcheck.lua:63: attempt to index local 'finder' (a function value)
stack traceback:
	...m/lua/telescope/_extensions/lazy_plugins/healthcheck.lua:63: in function 'extension_healthcheck'
	.../share/nvim/lazy/telescope.nvim/lua/telescope/health.lua:126: in function 'check'
	[string ":lua"]:1: in main chunk
	[C]: in function 'call'
	.../nvim-linux-x86_64/share/nvim/runtime/lua/vim/health.lua:439: in function '_check'
	[string "<nvim>"]:1: in main chunk
stack traceback:
	[C]: in function 'call'
	.../nvim-linux-x86_64/share/nvim/runtime/lua/vim/health.lua:439: in function '_check'
	[string "<nvim>"]:1: in main chunk

Any ideas?

Neovim version

NVIM v0.11.4
Build type: Release
LuaJIT 2.1.1741730670

Operating system and version

Amazon Linux 2023

Telescope version / branch / rev

The latest master branch right now as of Wednesday, October 22, 2025, 10:26 hrs.

checkhealth telescope

Doesn't give me any output.

Steps to reproduce

  1. Start Neovim.
  2. Do :checkhealth telescope

Expected behavior

I expect a normal check health report.

Actual behavior

I get the error message I provided.

Minimal config

local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs { "config", "data", "state", "cache" } do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
  vim.fn.system {
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  }
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  {
    "nvim-telescope/telescope.nvim",
    dependencies = {
      "nvim-lua/plenary.nvim",
    },
    config = function()
      -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
      require("telescope").setup {}
    end,
  },
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions