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

Unable to construct project graph #29821

Open
tien opened this issue Jan 31, 2025 · 0 comments
Open

Unable to construct project graph #29821

tien opened this issue Jan 31, 2025 · 0 comments

Comments

@tien
Copy link

tien commented Jan 31, 2025

Seems like Docusaurus version 3.7.0 caused this error Unable to construct project graph.

Nx Report

Node           : 22.11.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.9.0

nx          : 20.4.0
typescript  : 5.7.3
---------------------------------------
⚠️ Unable to construct project graph.
Failed to process project graph.
    The "nx/js/dependencies-and-lockfile" plugin threw an error while creating dependencies: Target project does not exist: npm:react-helmet-async@npm:@slorber/react-helmet-async@*
    Error: Target project does not exist: npm:react-helmet-async@npm:@slorber/react-helmet-async@*
        at validateCommonDependencyRules (/Users/tien/Projects/reactive-dot/node_modules/nx/src/project-graph/project-graph-builder.js:323:15)
        at validateDependency (/Users/tien/Projects/reactive-dot/node_modules/nx/src/project-graph/project-graph-builder.js:314:5)
        at /Users/tien/Projects/reactive-dot/node_modules/nx/src/plugins/js/lock-file/yarn-parser.js:214:80
        at Array.forEach (<anonymous>)
        at /Users/tien/Projects/reactive-dot/node_modules/nx/src/plugins/js/lock-file/yarn-parser.js:205:49
        at Array.forEach (<anonymous>)
        at /Users/tien/Projects/reactive-dot/node_modules/nx/src/plugins/js/lock-file/yarn-parser.js:203:72
        at Array.forEach (<anonymous>)
        at /Users/tien/Projects/reactive-dot/node_modules/nx/src/plugins/js/lock-file/yarn-parser.js:200:26
        at Array.forEach (<anonymous>)
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

3 participants