fix(core): nx.json should not be required to run tasks
Current Behavior
You get a " NX Could not find Nx modules in this workspace." error when there's no "nx.json"
Expected Behavior
It should just work. Nx should still be able to run tasks.
Related Issue(s)
Fixes #
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| nx-dev | ✅ Ready (Inspect) | Visit Preview | Jun 14, 2025 0:37am |
View your CI Pipeline Execution ↗ for commit 01f9a9a11b8931ce9fdfb3ed3715123dce9feed2.
| Command | Status | Duration | Result |
|---|---|---|---|
nx affected --targets=lint,test,build,e2e,e2e-c... |
✅ Succeeded | 34m 35s | View ↗ |
nx run-many -t check-imports check-commit check... |
✅ Succeeded | 19s | View ↗ |
nx-cloud record -- nx-cloud conformance:check |
✅ Succeeded | 2s | View ↗ |
nx-cloud record -- nx format:check |
✅ Succeeded | 5s | View ↗ |
nx-cloud record -- nx sync:check |
✅ Succeeded | 3s | View ↗ |
nx documentation |
✅ Succeeded | 1m 46s | View ↗ |
☁️ Nx Cloud last updated this comment at 2025-06-14 13:07:56 UTC
The implementation works as expected. There was an issue on my own machine (e.g. a lost nx.json higher up in a parent folder) 🤦♂️
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.