Skip to content

NX console vscode extension is unable to reliably find projects in the current workspace #2302

Open
@soosap

Description

@soosap

Current Behavior

Image

NX console has problems loading the projects in the current workspace. Every once in a while reloading the window does resolve the problem.
Image

But then a day later or two it starts getting stuck in "We couldn't find any projects in this workspace." notice.

Expected Behavior

The projects should be loading and visible in the NX Console extension tab.

Steps to Reproduce

Install latest version on nx and nx-console extension and navigate to the extension tab.

Failure Logs / Images / Videos

[NX Daemon Server] - 2024-11-03T11:07:51.820Z - Started listening on: /var/folders/j0/gmsr74110hj_3tt8wd47spsc0000gn/T/2e889a7fa292ff7d2f3a/d.sock
[NX Daemon Server] - 2024-11-03T11:07:51.853Z - [WATCHER]: Subscribed to changes within: /Users/soosap/Projects/kadal (native)
[NX Daemon Server] - 2024-11-03T11:07:51.869Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:07:51.872Z - Established a connection. Number of open connections: 2
[NX Daemon Server] - 2024-11-03T11:07:51.890Z - Closed a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:07:51.893Z - [REQUEST]: Responding to the client. Shutdown initiated
[NX Daemon Server] - 2024-11-03T11:07:51.894Z - Done responding to the client Shutdown initiated
[NX Daemon Server] - 2024-11-03T11:07:51.896Z - Handled FORCE_SHUTDOWN. Handling time: 1. Response time: 3.
[NX Daemon Server] - 2024-11-03T11:07:51.899Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2024-11-03T11:07:51.902Z - [WATCHER]: Stopping the watcher for /Users/soosap/Projects/kadal (sources)
[NX Daemon Server] - 2024-11-03T11:07:51.903Z - [WATCHER]: Stopping the watcher for /Users/soosap/Projects/kadal (outputs)

> NX runtime error err=cannot send event from fs watcher: sending into a closed channel


> NX runtime error err=cannot send event from fs watcher: sending into a closed channel


> NX runtime error err=cannot send event from fs watcher: sending into a closed channel

[NX Daemon Server] - 2024-11-03T11:10:20.598Z - Started listening on: /var/folders/j0/gmsr74110hj_3tt8wd47spsc0000gn/T/2e889a7fa292ff7d2f3a/d.sock
[NX Daemon Server] - 2024-11-03T11:10:20.611Z - [WATCHER]: Subscribed to changes within: /Users/soosap/Projects/kadal (native)
[NX Daemon Server] - 2024-11-03T11:10:20.612Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:10:20.613Z - Established a connection. Number of open connections: 2
[NX Daemon Server] - 2024-11-03T11:10:20.646Z - Closed a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:10:20.647Z - [REQUEST]: Responding to the client. Shutdown initiated
[NX Daemon Server] - 2024-11-03T11:10:20.648Z - Done responding to the client Shutdown initiated
[NX Daemon Server] - 2024-11-03T11:10:20.661Z - Handled FORCE_SHUTDOWN. Handling time: 0. Response time: 14.
[NX Daemon Server] - 2024-11-03T11:10:20.679Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2024-11-03T11:10:20.685Z - [WATCHER]: Stopping the watcher for /Users/soosap/Projects/kadal (sources)
[NX Daemon Server] - 2024-11-03T11:10:20.686Z - [WATCHER]: Stopping the watcher for /Users/soosap/Projects/kadal (outputs)
[NX Daemon Server] - 2024-11-03T11:11:25.831Z - Started listening on: /var/folders/j0/gmsr74110hj_3tt8wd47spsc0000gn/T/2e889a7fa292ff7d2f3a/d.sock
[NX Daemon Server] - 2024-11-03T11:11:25.837Z - [WATCHER]: Subscribed to changes within: /Users/soosap/Projects/kadal (native)
[NX Daemon Server] - 2024-11-03T11:11:25.840Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:11:25.843Z - Established a connection. Number of open connections: 2
[NX Daemon Server] - 2024-11-03T11:11:25.872Z - Closed a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:11:25.881Z - Established a connection. Number of open connections: 2
[NX Daemon Server] - 2024-11-03T11:11:25.886Z - [REQUEST]: Client Request for Project Graph Received
[NX Daemon Server] - 2024-11-03T11:11:25.923Z - Established a connection. Number of open connections: 3
[NX Daemon Server] - 2024-11-03T11:11:25.924Z - Closed a connection. Number of open connections: 2
[NX Daemon Server] - 2024-11-03T11:11:25.926Z - [REQUEST]: Responding to the client. Shutdown initiated
[NX Daemon Server] - 2024-11-03T11:11:25.927Z - Done responding to the client Shutdown initiated
[NX Daemon Server] - 2024-11-03T11:11:25.927Z - Handled FORCE_SHUTDOWN. Handling time: 0. Response time: 1.
[NX Daemon Server] - 2024-11-03T11:11:25.937Z - [WATCHER]: Stopping the watcher for /Users/soosap/Projects/kadal (sources)
[NX Daemon Server] - 2024-11-03T11:11:25.938Z - Closed a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:11:25.943Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2024-11-03T11:11:25.952Z - [WATCHER]: Stopping the watcher for /Users/soosap/Projects/kadal (outputs)
[NX Daemon Server] - 2024-11-03T11:12:27.854Z - Started listening on: /var/folders/j0/gmsr74110hj_3tt8wd47spsc0000gn/T/2e889a7fa292ff7d2f3a/d.sock
[NX Daemon Server] - 2024-11-03T11:12:27.874Z - [WATCHER]: Subscribed to changes within: /Users/soosap/Projects/kadal (native)
[NX Daemon Server] - 2024-11-03T11:12:27.952Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:12:27.959Z - Established a connection. Number of open connections: 2
[NX Daemon Server] - 2024-11-03T11:12:28.032Z - Closed a connection. Number of open connections: 1
[NX Daemon Server] - 2024-11-03T11:12:28.115Z - [WATCHER]: Processing file changes in outputs
[NX Daemon Server] - 2024-11-03T11:12:28.128Z - [REQUEST]: Responding to the client. Shutdown initiated
[NX Daemon Server] - 2024-11-03T11:12:28.128Z - Done responding to the client Shutdown initiated
[NX Daemon Server] - 2024-11-03T11:12:28.128Z - Handled FORCE_SHUTDOWN. Handling time: 1. Response time: 0.
[NX Daemon Server] - 2024-11-03T11:12:28.163Z - [WATCHER]: Stopping the watcher for /Users/soosap/Projects/kadal (sources)
[NX Daemon Server] - 2024-11-03T11:12:28.165Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2024-11-03T11:12:28.190Z - [WATCHER]: Stopping the watcher for /Users/soosap/Projects/kadal (outputs)

  • Nx Console version: 20.0.7
  • VSCode version: Version: 1.95.1 (Universal)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions