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
Couldn't find any projects #2108
Comments
Having the same issue (in VS code and Webstorm).
|
Hey @BoilerTom90 could you share some logs from the |
@MaxKless No, I closed all nodejs instances via the Task Manager and the issue is still present. |
I must be blind because I don't see a 'Output -> Nx Language Server' tab. Can you shed some light on where I would find that? |
ah, thanks for that. I haven't much of a need to look in that output console, until now. When I look at the choices in the
I do not see There isn't much in the Nx Console output, but here's the output from the Nx Console Client when I click the "refresh projects" button [Nxls] - 2024-04-29T16:50:10.997Z - Retrieving workspace configuration [Nxls] - 2024-04-29T16:50:10.998Z - Using local Nx package at d:/projects/nx-xcreg/xcreg3/node_modules/nx/src/project-graph/file-utils.js [Nxls] - 2024-04-29T16:50:10.998Z - Using local Nx package at d:/projects/nx-xcreg/xcreg3/node_modules/nx/src/utils/output.js [Nxls] - 2024-04-29T16:50:10.998Z - Using local Nx package at d:/projects/nx-xcreg/xcreg3/node_modules/nx/src/project-graph/file-map-utils.js [Nxls] - 2024-04-29T16:50:10.999Z - Using local Nx package at d:/projects/nx-xcreg/xcreg3/node_modules/nx/src/project-graph/project-graph.js [Nxls] - 2024-04-29T16:50:11.005Z - createProjectGraphAsync [Nxls] - 2024-04-29T16:50:11.014Z - createProjectGraphAsync successful process.exit called with code 1 Messages from the log: More information: d:\projects\nx-xcreg\xcreg3.nx\cache\d\daemon.log --- it's worth nothing I have a couple other Nx projects that do not have this problem. The ones that do NOT have this problem are using an older version of Nx. |
Hey @BoilerTom90! Either way, I've added a PR #2120 which should hopefully catch this error and similar ones. |
I'm going to close this for now, if the issue still persists on a newer version of Nx Console please let me know. Thank you! |
Max, I don't understand the comment. 18.3.4 is the latest version of Nx. How can I be behind? I didn't actually see any of these issues until I went to the latest of Nx and Nx Console. |
Can you check your Nx Console version and paste it here? So you're 10 versions behind. Maybe you have to update your VSCode as well to enable the latest Nx Console versions. |
We fixed it by adding |
I created a new nx workspace for an angular project.
I've opened vscode in the project root, and when I open the nx console, it says "we can't find any projects in this workspace."
Refreshing does nothing. I can run the "nx serve " command from the CLI and it works so I know I'm in the project workspace.
Current Behavior
Nx Console says it can't find any projects.
Expected Behavior
I was expecting the nx console to find my angular project. I've tried uninstalling and reinstalling, and also restarting vscode, but it can't find my project.
Steps to Reproduce
Failure Logs / Images / Videos
Environment
The text was updated successfully, but these errors were encountered: