-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
16.4: Failed to process the project graph with "nx-js-graph-plugin" #17987
Comments
Possibly a duplicate of #17781? |
Workaround: Remove The value of nx/packages/nx/src/project-graph/project-graph-builder.ts Lines 258 to 263 in 3edbe49
Update: I've just learned that |
Hey, can you try again with latest? We've made some updates that should make this less likely to happen. |
Hi, I've tested against 16.5.3 and it seems be working again. That said, since it's deprecated, we've removed it already. I couldn't get the autodetection working though despite setting the root package name to our scope. What is the recommended way to do this now? diff --git a/package.json b/package.json
index 1d1878f9..17bffc6d 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "rnx-kit",
+ "name": "@rnx-kit/root",
"version": "0.1.0",
"private": true,
"description": "", Run:
This only works with |
We seem to have the same/a similar problem when running Edit: > NX Failed to process the project graph with "nx-js-graph-plugin".
Maximum call stack size exceeded |
When I tried to create a new project using the command To solve the issue, I decided to create a new project without specifying a package manager by running the command npx create-nx-workspace. |
Is there any update on that? I have the same problem with the latest v16.6.0. The error occurs when I execute graphql-codegen via the |
Same issue here but only on Azure Pipelines with |
Not sure if this will help you, but we temporarily fixed this by given the Azure workers more cores (4 cores seems to work for us). But this is of course only possible if you are running self-hosted workers. |
We are currently using 2 core / 8 GB machines, I will wait for the fix because we can live without nx for now |
I have this problem locally on my Macbook Pro M2 😅 So I cannot add more cores sadly, haha |
Upgrading to nx@16.7.0-rc.0 resolved this issue for me
|
Can you all please retry with the latest version of Nx? (16.7.0) Also, could you run the failing command with the |
@FrozenPandaz just tested 10min with the local setup where I had this problem all the time. Works fine now with v16.7.0. I upgrade another project and look if this error occurs again. Thank you! |
@FrozenPandaz upgraded to the latest version with
During the migration we also got a lot of:
|
I have an issue which seems to be related, at least the output is somewhat the same. I can reproduce it with Lerna. Here's the full description: lerna/lerna#3807 The issue happens when hot loading NX 16.3 or higher with |
The Lerna issue is not related, despite the similar error report @SF97 |
I think this might be related to #18646 |
We were still able to repro this on the latest version Hope this helps!
|
i'm experiencing this on version any ideas? |
Tried with Stack trace;
|
I'm also getting a wierd behaviour now on 16.7.3 where my projects were simply stopped being found by nx even though nothing has changed.
|
For those of you who are experiencing this on |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
After upgrading nx from 16.3 to 16.4,
yarn build
fails to find any projects:Expected Behavior
yarn build
successfully builds all packages in the repository.GitHub Repo
https://github.com/microsoft/rnx-kit
Steps to Reproduce
yarn build
Nx Report
Failure Logs
Operating System
Additional Information
Full build log here: https://github.com/microsoft/rnx-kit/actions/runs/5474602740/jobs/9969582689?pr=2500
The text was updated successfully, but these errors were encountered: