nvim-tree / nvim-tree/nvim-tree.lua

[NvimTree] Could not start the fs_event watcher for path /xxxx/xxxx : ENOSPC

Open
#2,762 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

awaiting feedback bug
Dominant language
Lua
Stars
8.6k
Forks
639
Avg merge
1d 14h
Merged PRs (30d)
2

Description

Description

Describe the bug
Each time I use CTRL + N, the message in the attached picture occurs for each file (or each directory).

To Reproduce
Steps to reproduce the behavior:

  1. open NVIM
  2. CTRL+N
  3. error occurs consistently and for each file in the directory
  4. see picture

Expected behavior
No error should occur when activating CTRL+N.

Screenshots
Screenshot from 2024-04-30 14-11-35
Screenshot from 2024-04-30 14-16-33

Desktop (please complete the following information):

  • Operating System: UBUNTU 24.04
  • Terminal: Gnome Terminal
  • Version of Neovim: 0.9.5

Using NVCHAD following basic instructions for Linux
image

No .git file in the ~/.config/nvim directory or my home directory.

Neovim version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377
Operating system and version

Ubuntu 24.04 - Kernel 6.8.0-31

Windows variant

N/A

nvim-tree version

tag: v1.3, tag: v1, tag: nvim-tree-v1.3.1

Clean room replication
Using NVCHAD setup out of the box, no changes.
Steps to reproduce
  1. nvim .
  2. CTRL+N
  3. error appears for each file and/or directory
Expected behavior

No error ... installed on my MAC with no errors.

Actual behavior

See screenshots in the description.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with nvim-tree on Ubuntu 24.04 using Neovim 0.9.5 and the clean NVChad setup described in the report. Investigate the file-system event watcher path that produces ENOSPC when CTRL+N opens the tree, and consider the issue done when the watcher error no longer appears for files or directories under the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, ubuntu
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.