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

Tasks not visible in PROJECTS view of NX Console #1433

Closed
pgfeller opened this issue Dec 5, 2022 · 3 comments
Closed

Tasks not visible in PROJECTS view of NX Console #1433

pgfeller opened this issue Dec 5, 2022 · 3 comments
Labels
type: bug Something isn't working

Comments

@pgfeller
Copy link

pgfeller commented Dec 5, 2022

Current Behavior

In Nx Console version 17.26.0 I only see the projects, but not the configured tasks:

image

The output of Nx Console, Nx Console Client nor Log (Extension Host) show an error. Below the Nx Console Client output:

Retrieving workspace configuration
Using local Nx package at c:/git/2nd/VMS.RO.Webviewer/node_modules/nx/src/project-graph/file-utils.js
Using local Nx package at c:/git/2nd/VMS.RO.Webviewer/node_modules/nx/src/project-graph/project-graph.js
[Nxls] - 2022-12-05T10:30:43.648Z - createProjectGraphAsync

Retrieved workspace configuration in: 2458.4880999922752 ms
[Nxls] - 2022-12-05T10:30:45.386Z - createProjectGraphAsync successful

The developer console of VS Code also does not show errors related to Nx. `npx nx reset" does not resolve the problem.

The view GENERATE & RUN TARGET lists the available targets from the libraries and app:

image

npx nx repair was not able to find a problem in the configuration:

$ npx nx repair

 >  NX   No changes were necessary. This workspace is up to date!

If I downgrade Nx Console extension to version 17.20.0 the projects view works as expected:

image

Expected Behavior

The projects view should resolve the configured tasks as in earlier versions of the plugin.

Steps to Reproduce

Potentially related issue: #1405

The workspace and nx files of the root folder are attached. The folder repos/RTCP.Web.Viewer is a git submodule.

Failure Logs / Images / Videos

nx & workspace.zip

Environment

npx nx report:

 >  NX   Report complete - copy this into the issue template

   Node : 16.10.0
   OS   : win32 x64
   npm  : 9.1.2
   
   nx : 15.0.0
   @nrwl/angular : 15.0.0
   @nrwl/cypress : 15.0.0
   @nrwl/detox : Not Found
   @nrwl/devkit : 15.0.0
   @nrwl/esbuild : Not Found
   @nrwl/eslint-plugin-nx : 15.0.0
   @nrwl/expo : Not Found
   @nrwl/express : Not Found
   @nrwl/jest : 15.0.0
   @nrwl/js : 15.0.0
   @nrwl/linter : 15.0.0
   @nrwl/nest : Not Found
   @nrwl/next : Not Found
   @nrwl/node : Not Found
   @nrwl/nx-cloud : Not Found
   @nrwl/nx-plugin : Not Found
   @nrwl/react : Not Found
   @nrwl/react-native : Not Found
   @nrwl/rollup : Not Found
   @nrwl/schematics : Not Found
   @nrwl/storybook : 15.0.0
   @nrwl/web : Not Found
   @nrwl/webpack : 15.0.0
   @nrwl/workspace : 15.0.0
   typescript : 4.8.4
   ---------------------------------------
   Local workspace plugins:
   ---------------------------------------
   Community plugins:
         @ngrx/effects: 14.2.0
         @ngrx/store: 14.2.0
         @ngrx/store-devtools: 14.2.0
         @compodoc/compodoc: 1.1.19
         @ngrx/eslint-plugin: 14.2.0
         @twittwer/compodoc: 1.8.2
  • Nx Console version: 17.26.0 (nx: 15.0.0)
  • VSCode version: 1.73.1 (OS Windows x64 10)
@pgfeller pgfeller added the type: bug Something isn't working label Dec 5, 2022
@MaxKless
Copy link
Collaborator

MaxKless commented Dec 5, 2022

Hi, is the behaviour the same in list & tree view? You can change between them via the nxConsole.projectViewingStyle setting.

@pgfeller
Copy link
Author

pgfeller commented Dec 6, 2022

Hi, is the behaviour the same in list & tree view? You can change between them via the nxConsole.projectViewingStyle setting.

Thank you for your reply!

If I configure "nxConsole.projectViewingStyle": "list" the tasks are visible with the latest plugin:

image

"nxConsole.projectViewingStyle": "tree", works as well ... - I removed the settings again and the tasks are still visible. I noticed that an upgrade was made from 17.26.0 to 17.27.0 .... after a downgrade to 17.26.0 the problem was there again.

It seems that the problem does not exist anymore in the latest version 17.27.0 of the plugin. I'm not familiar enough with the code to identify the commit that solved the issue - but it seems to be ok now.

thank you very much for your quick reply and help!

@MaxKless
Copy link
Collaborator

MaxKless commented Dec 6, 2022

Ok that's great to hear! Let us know if you run into any more issues :)

@MaxKless MaxKless closed this as completed Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants