Open millerpb opened 2 weeks ago
Hi, could you provide some logs and ideally a minimal repro? That will make it easier for us to fix the issue.
nx report
and paste what you see thereOutput -> Nx Language Server
and paste what you see there. Toggle Developer Tools
and paste what you see there toonx daemon
and provide the contents of the daemon.log
file linked thereThank you!
NX Report on Nx Console v18.20.0:
Node : 18.19.1
OS : win32-x64
pnpm : 8.15.3
nx : 17.2.7
@nx/js : 17.2.7
@nx/jest : 17.2.7
@nx/linter : 17.2.7
@nx/eslint : 17.2.7
@nx/workspace : 17.2.7
@nx/angular : 17.2.7
@nx/cypress : 17.2.7
@nx/devkit : 17.2.7
@nx/eslint-plugin : 17.2.7
@nx/node : 17.2.7
@nx/plugin : 17.2.7
@nx/storybook : 17.2.7
@nrwl/tao : 17.2.7
@nx/web : 17.2.7
@nx/webpack : 17.2.7
typescript : 5.2.2
---------------------------------------
Community plugins:
@ionic/angular : 7.6.2
@monodon/rust : 1.3.3
@ngneat/spectator : 16.0.0
@ngrx/component : 17.0.1
@ngrx/component-store : 17.0.1
@ngrx/effects : 17.0.1
@ngrx/entity : 17.0.1
@ngrx/router-store : 17.0.1
@ngrx/schematics : 17.0.1
@ngrx/store : 17.0.1
@ngrx/store-devtools : 17.0.1
@nxext/capacitor : 17.0.1
@nxext/ionic-angular : 17.0.1
@storybook/angular : 7.6.6
apollo-angular : 6.0.0
ngx-build-plus : 14.0.0
---------------------------------------
Local workspace plugins:
@scorpion/util-federation-generators
@scorpion/util-generators
NX Language Server Output on Nx Console v18.20.0:
[Nxls] - 2024-06-22T21:09:11.636Z - Initializing Nx Language Server
[Nxls] - 2024-06-22T21:09:11.640Z - Retrieving workspace configuration
[Nxls] - 2024-06-22T21:09:11.646Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/utils/output.js
[Nxls] - 2024-06-22T21:09:11.716Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/project-graph/project-graph.js
[Nxls] - 2024-06-22T21:09:11.719Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/project-graph/file-utils.js
[Nxls] - 2024-06-22T21:09:11.719Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/project-graph/file-map-utils.js
[Nxls] - 2024-06-22T21:09:11.719Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/daemon/client/client.js
[Nxls] - 2024-06-22T21:09:11.767Z - createProjectGraphAndSourceMapsAsync
[Nxls] - 2024-06-22T21:09:13.103Z - createProjectGraphAndSourceMapsAsync successful
[Nxls] - 2024-06-22T21:09:13.197Z - Resetting daemon client
[Nxls] - 2024-06-22T21:09:13.197Z - Retrieved workspace configuration in: 1556.6786999702454 ms
Dev tools console (?) on Nx Console v18.20.0:
NX Report on Nx Console v18.22.0:
Node : 18.19.1
OS : win32-x64
pnpm : 8.15.3
nx : 17.2.7
@nx/js : 17.2.7
@nx/jest : 17.2.7
@nx/linter : 17.2.7
@nx/eslint : 17.2.7
@nx/workspace : 17.2.7
@nx/angular : 17.2.7
@nx/cypress : 17.2.7
@nx/devkit : 17.2.7
@nx/eslint-plugin : 17.2.7
@nx/node : 17.2.7
@nx/plugin : 17.2.7
@nx/storybook : 17.2.7
@nrwl/tao : 17.2.7
@nx/web : 17.2.7
@nx/webpack : 17.2.7
typescript : 5.2.2
---------------------------------------
Community plugins:
@ionic/angular : 7.6.2
@monodon/rust : 1.3.3
@ngneat/spectator : 16.0.0
@ngrx/component : 17.0.1
@ngrx/component-store : 17.0.1
@ngrx/effects : 17.0.1
@ngrx/entity : 17.0.1
@ngrx/router-store : 17.0.1
@ngrx/schematics : 17.0.1
@ngrx/store : 17.0.1
@ngrx/store-devtools : 17.0.1
@nxext/capacitor : 17.0.1
@nxext/ionic-angular : 17.0.1
@storybook/angular : 7.6.6
apollo-angular : 6.0.0
ngx-build-plus : 14.0.0
---------------------------------------
Local workspace plugins:
@scorpion/util-federation-generators
@scorpion/util-generators
NX Language Server Output on Nx Console v18.22.0:
[Nxls] - 2024-06-22T21:11:48.513Z - Initializing Nx Language Server
[Nxls] - 2024-06-22T21:11:48.519Z - Retrieving workspace configuration
[Nxls] - 2024-06-22T21:11:48.608Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/project-graph/file-utils.js
[Nxls] - 2024-06-22T21:11:48.608Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/project-graph/project-graph.js
[Nxls] - 2024-06-22T21:11:48.608Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/utils/output.js
[Nxls] - 2024-06-22T21:11:48.608Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/project-graph/file-map-utils.js
[Nxls] - 2024-06-22T21:11:48.609Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/daemon/client/client.js
[Nxls] - 2024-06-22T21:11:48.651Z - createProjectGraphAndSourceMapsAsync
[Nxls] - 2024-06-22T21:11:49.879Z - createProjectGraphAndSourceMapsAsync successful
[Nxls] - 2024-06-22T21:11:49.964Z - Resetting daemon client
[Nxls] - 2024-06-22T21:11:49.964Z - Retrieved workspace configuration in: 1444.937600016594 ms
[Nxls] - 2024-06-22T21:11:50.065Z - Using local Nx package at c:/VersionControl/git/AppPlatform/node_modules/nx/src/native/index.js
Dev tools console (?) on Nx Console v18.22.0:
And the daemon logs:
v18.20.0: nx-daemon-v18_20_0.txt
v18.22.0: nx-daemon-v18_22_0.txt
Current Behavior
This issue is with the VSCode Nx Console plugin. It may be related to how our repo is configured (been upgraded over the years), but we're on nx/angular 17.2.7.
When I'm running a version of the plugin greater than
v18.20.0
, the list of "Generate & Run Target" commands fails to load.Expected Behavior
List of generate commands appear as usual and can be run from the Command Palette.
Steps to Reproduce
v18.21.0
or aboveFailure Logs / Images / Videos
Environment
VSCode, Nx Console plugin,
v18.20.0
(when working)