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 GitHub Copilot chat participant issue #30577

Open
1 of 4 tasks
vrxj81 opened this issue Apr 2, 2025 · 3 comments
Open
1 of 4 tasks

NX GitHub Copilot chat participant issue #30577

vrxj81 opened this issue Apr 2, 2025 · 3 comments

Comments

@vrxj81
Copy link

vrxj81 commented Apr 2, 2025

Current Behavior

Hi, I am using VS Code with GitHub Copilot, but it seems the NX extension for Colpilot isn't refreshing the workspace. I deleted a project with the NX CLI and when I use @nx in the GitHub Copilot chat it errors out, displaying deleted files from the deleted project.

Image

Expected Behavior

using @nx chat participant in Copilot chat works

GitHub Repo

https://github.com/vrxj81/portfolio

Steps to Reproduce

  1. Open GitHub Copilot chat
  2. mention @nx participant in chat and ask anything

Nx Report

NX   Report complete - copy this into the issue template

Node           : 22.14.0
OS             : darwin-arm64
Native Target  : aarch64-macos
yarn           : 4.7.0

nx                     : 20.6.2
@nx/js                 : 20.6.2
@nx/jest               : 20.6.2
@nx/eslint             : 20.6.2
@nx/workspace          : 20.6.2
@nx/angular            : 20.6.2
@nx/devkit             : 20.6.2
@nx/eslint-plugin      : 20.6.2
@nx/module-federation  : 20.6.2
@nx/nest               : 20.6.2
@nx/node               : 20.6.2
@nx/playwright         : 20.6.2
@nx/plugin             : 20.6.2
@nx/rspack             : 20.6.2
@nx/vite               : 20.6.2
@nx/web                : 20.6.2
@nx/webpack            : 20.6.2
typescript             : 5.7.3
---------------------------------------
Registered Plugins:
@nx/vite/plugin
@nx/eslint/plugin
@nx/webpack/plugin
@nx/playwright/plugin
---------------------------------------
Community plugins:
@ngrx/operators : 19.0.1
@ngrx/signals   : 19.0.1
angular-eslint  : 19.2.1
---------------------------------------
Local workspace plugins:
         @portfolio/typeorm
---------------------------------------
Cache Usage: 9.50 MB / 92.64 GB

Failure Logs

cannot open file:///Users/johanvrolix/Optimalist/dev/portfolio/apps/jobboard/backend/mikro-orm.config.ts. Detail: Unable to read file '/Users/johanvrolix/Optimalist/dev/portfolio/apps/jobboard/backend/mikro-orm.config.ts' (Error: Unable to resolve nonexistent file '/Users/johanvrolix/Optimalist/dev/portfolio/apps/jobboard/backend/mikro-orm.config.ts')

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

I first used MikroORM with the backend app and libraries. Then refactored to TypeORM. I don't exactly know when the issues with the chat participant started. I have it in another workspace as well.
Firstly I had the same error message in the Problems View and Nx Projects View, but they went away after refreshing the workspace from the Nx Console. The errors do persist in the Copilot chat however

@MaxKless
Copy link
Collaborator

MaxKless commented Apr 2, 2025

Image it works for me... looks like you got into some weird state there. Did you run `nx reset`? And if that doesn't work, delete and reinstall node modules?

@vrxj81
Copy link
Author

vrxj81 commented Apr 3, 2025

Hi Max, thanks for taking a look.
I have tried nx reset and reinstalling node modules already.
I’m going to try a reinstall of VS Codium

@vrxj81
Copy link
Author

vrxj81 commented Apr 6, 2025

@MaxKless reinstalling doesn’t solve it.
Any idea where I might look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants