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

Nx Console showing deleted library #1659

Closed
geraparra opened this issue Apr 4, 2023 · 2 comments · Fixed by nrwl/nx#16210
Closed

Nx Console showing deleted library #1659

geraparra opened this issue Apr 4, 2023 · 2 comments · Fixed by nrwl/nx#16210
Labels
type: bug Something isn't working

Comments

@geraparra
Copy link

geraparra commented Apr 4, 2023

Current Behavior

I've created a new nx monorepo angular project and after removing a library I still see the library in the projects section.

is there any chance to update the view to prevent showing deleted libraries?

Expected Behavior

Would be nice to see only available apps or libraries but not deleted ones.

Steps to Reproduce

  1. Create a new project with nx using the following command: npx create-nx-workspace@latest

Choose your style · integrated
✔ What to create in the new workspace · angular
✔ Repository name · myorg
✔ Application name · store
✔ Default stylesheet format · css
✔ Enable distributed caching to make your CI faster · Yes

  1. Created two apps and one library as in the following capture:

image

  1. remove the library using npx remove command
  2. refresh nxconsole projects section
  3. deleted library is still showed in the list:
    image

Failure Logs / Images / Videos

Environment

  • Nx Console version: v17.32.0
  • VSCode version: 1.76.2
@geraparra geraparra added the type: bug Something isn't working label Apr 4, 2023
@doug-shontz
Copy link

This to me is something "below" the VS Code plugin. I have no affiliation with the toolset at all. But I have found that when you move things or delete things in your workspace...NOTHING updates. You can run "nx graph" and still see the deleted libraries as well.

What I have found I have to do is perform my moves/deletes and then run "nx reset". That restarts the nx daemon and clears up both the graph and the nx console plugins.

@AgentEnder
Copy link
Member

This is an error with Nx itself in latest versions, I'm pushing a PR.

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

Successfully merging a pull request may close this issue.

3 participants