mrkeyoor.comAsk

nrwl/nxtested 29 Nov 2026commit de268d8

nx review

Use Nx when related applications and libraries need coordinated tasks and your team can own the associated packaging and cache integrations.

  • Safety failed
  • Build failed
32 sto install
  • Tests failed
  • 4,360 packages
Dev Toolsevaluationupdated 29 Nov 2026
+3stars / 7d

Nx is a monorepo solution for TypeScript and polyglot codebases. Its README describes caching task outputs, running affected work and optional plugins that discover tasks around existing tools.

Verdict

Use Nx when related applications and libraries need coordinated tasks and your team can own the associated packaging and cache integrations. Teams whose existing scripts already meet those needs should keep that simpler workflow. Our contributor checkout installed in 32 seconds, then build and test commands failed during dependency analysis. For bundled library publication, evaluate the intended artifact in your target Nx version; issue #4620's custom Rollup account is historical evidence, not a current reason to exclude Nx.

Nx infographic: task coordination for related applications and libraries, plus our test result and who it suits
Tested 29 November 2026: the source build failed. Before that: source install 32 s.

We ran it

Lab card: what happened when we ran nx
Lab card from our sandbox run
Screenshot of nx (nx.dev)
nx.dev
Install✓ · 32s4360 packages · 2923 MB
Build✗ · 83s
Tests✗ · 35sran, no count parsed
Repo10926 files~1,357,823 lines of source · 125 MB · 13 CI workflows

Answers from our run

Does nx build from source?

Dependencies installed in 32 seconds (4360 packages), and the build failed. We cloned commit de268d8 into a clean Debian container with 3 CPUs and no project-specific setup.

Do nx's tests pass?

No. The project's own test command exited unsuccessfully after 35 seconds, and its output did not expose an individual test count.

Who should not use nx?

Teams whose existing package scripts already meet their coordination needs.

What are the alternatives to nx?

Turborepo, NestJS without Nx. Use Nx when related applications and libraries need coordinated tasks and your team can own the associated packaging and cache integrations.

Setup2/5Our source checkout installed but the build failed.Editor’s note: Dependency installation completed, but build and test stopped on plugin errors. Complete contributor prerequisites and application adoption effort were not assessed.
Docs3/5The README has an install section (“Quick Start”) and usage in the same section, but the usage section is thin: no code and under 400 characters.Editor’s note: The README describes adoption entry points and plugin choices. No application workflow was completed to assess documentation usability.
Community5/5Last push on 2026-11-28, 29,500 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Sampled discussions contain user reports and maintainer updates, but do not measure representative response times or support quality.
Maturity4/5Latest release 24.1.0 on 2026-11-26, repository created 2017-08-11 and its test suite did not pass in our sandbox.Editor’s note: The contributor checkout has CI workflows, but build and test failed. Production reliability, cache correctness and package delivery were not assessed.

How we score

Discussed on

  1. hnMalicious versions of Nx and some supporting plugins were published443 points
  2. hnExtensible Web Dev Tools for Monorepos5 points
  3. hnNX VS Code extension compromised again4 points
  4. hnCritical: Compromised Nx Console version 18.95.03 points
  5. hnCompromised Nx Console3 points

Who it’s for

Maintainers coordinating tasks across related applications and libraries.
Workspace owners who need to evaluate selective execution and internally controlled caching.
Contributors prepared to investigate the polyglot prerequisites of the Nx source checkout.

Who it’s NOT for

Teams whose existing package scripts already meet their coordination needs.
Buyers who require demonstrated application setup, cache savings or production deployment results before choosing a tool. Those results need a separate application evaluation.

Setup reality

Our November 29, 2026 run at commit de268d8 installed with pnpm in 32 seconds, recording 4,360 dependencies and 2,923 MB on disk. The build failed with exit 1 after 83 seconds; tests failed with exit 1 after 35 seconds. Both tails name .NET and Gradle dependency-analysis errors, with Gradle wrapper HTTP calls above them. These results describe the Nx contributor checkout.

The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image lab-node:22. The separate deployment safety step failed because none of compose.yaml, compose.yml, docker-compose.yaml or docker-compose.yml existed. Its deployment banner contradicts that failure; teardown reported success.

For application adoption, the README documents npx nx init in an existing npm, pnpm or Yarn workspace. The closing update in issue #28434 announces free self-hosted cache packages and a custom cache API. Evaluate the intended bundled artifact in the target Nx version: issue #4620 records an author's historical Rollup workaround, rather than a present-day packaging requirement.

Our Nx source checkout installed in 32 seconds, then build and test commands failed during dependency analysis. Use Nx when coordinating related applications and libraries justifies owning their task, packaging and cache configuration. Keep existing scripts when they already meet those needs. For bundled library publication, evaluate the intended artifact in your target Nx version: the author of issue #4620 reported a custom Rollup workaround, which describes that author's solution rather than today's requirements.

Nx is the nrwl/nx monorepo tool. A monorepo holds related projects in one repository; Nx adds task coordination around those projects. The Nx README describes caching outputs and running affected work, with optional plugins for tools including Vite, Webpack, Jest, Gradle and .NET. The adoption question is whether those capabilities solve a coordination problem in your repository while preserving the server or package you need to ship.

What people use Nx for

GitHub users report using Nx for selective library work, internally controlled caching and applications with shared dependencies. Those accounts describe different reasons to adopt the same tool: reducing repeated work, keeping cache administration inside an organization, and developing related packages together. Their release requirements also differ, so a useful evaluation begins with the artifact another team or production server must receive.

Person and job Reported outcome Adoption question
el-davo's team operated a monorepo with 20 developers. They used on-premises MinIO S3 storage under their own administration in issue #28434. Who owns cache storage and access?
Bielik20 split shared functionality into libraries. They reported testing and publishing changed libraries with Nx affected in issue #4620. Which changes should trigger each task?
dangviettuan wanted one published package. The author reported finishing a custom Rollup build script in issue #4620. What must the external consumer receive?
wapplegate used one Angular library inside another. The application worked, but preparing the dependent library for publication produced a rootDir error in issue #602. Does the published package work outside the workspace?

Bielik20's account gives a concrete reason to split code into libraries: changed libraries could be tested and published selectively. The same discussion contains a request to bundle several libraries together. Development boundaries and release boundaries therefore deserve separate acceptance checks. A small internal library may be useful for task selection even when the product delivered to another team is a single package.

What happened when we ran it

Our November 29, 2026 run installed commit de268d8 in 32 seconds; build failed after 83 seconds and tests failed after 35 seconds. We measured the Nx contributor checkout by installing dependencies with pnpm and running the harness's build and test steps. Both failed commands exited 1, and both log tails identify errors while the .NET and Gradle plugins were creating dependencies.

Step in our source-checkout run Result What the result means
pnpm dependency installation Succeeded in 32 seconds; 4,360 dependencies recorded; 2,923 MB on disk Dependency installation completed.
Build Failed, exit 1, after 83 seconds The tail names .NET and Gradle dependency-analysis errors.
Tests Failed, exit 1, after 35 seconds The tail repeats those plugin errors and ends with a lifecycle failure.
Repository scan 10,926 files, approximately 1,357,823 source lines, 125 MB checked out These figures describe the contributor repository.
Structure scan 13 CI workflow files, monorepo workspaces, no Dockerfile or tests directory detected The scan records repository structure.

The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image lab-node:22. The build tail says The "@nx/dotnet" plugin threw an error while creating dependencies: There was an error analyzing .NET projects. See earlier logs. It also says The "@nx/gradle" plugin threw an error while creating dependencies: Failed to create nodes. Java HTTP redirect and input-stream calls appear above Gradle wrapper Install.forceFetch; the test tail repeats that sequence.

The separate deployment attempt stopped when its safety step found no Compose file. It checked compose.yaml, compose.yml, docker-compose.yaml and docker-compose.yml. The run banner nevertheless describes deployment through the repository's own Compose setup with every port bound to 127.0.0.1. The explicit failed step determines the outcome: deployment stopped at the harness's Compose requirement. Its teardown reported success.

Where people get stuck: discovery and publication

Nx issue reports distinguish project discovery failures from package publication failures. A project graph maps projects and their dependencies, so an error creating that graph can stop a task before application code runs. Publication introduces a different boundary: code that resolves inside a workspace must also resolve in the files and dependencies delivered to an external consumer.

Report and scope Reported recovery or outcome Useful distinction
Daemon graph failure in issue #8796 utsavkapoor said turning off the daemon let commands run again; reinstalling the global CLI helped one commenter and failed for another. Similar symptoms had different reported recoveries.
Empty project discovery in issue #27368 pascalmann traced their case to a parent-folder .gitignore affecting native globbing; another commenter still reported trouble with 19.6.2. Parent-directory configuration can be relevant to this report.
VSCode import updates in issue #4508 The reporter described imports no longer updating when files moved; the thread is marked open. Editor refactoring belongs in a workspace evaluation.
File deletion and movement in issue #3370 Commenters reported that 10.0.4 resolved their cases. Recovery reports carry a specific version.

In issue #602, the application displayed components from the nested libraries correctly. Preparing Lib2 for publication then produced File 'lib1.module.ts' is not under 'rootDir' 'lib2\src'. 'rootDir' is expected to contain all source files. An application launch and a library publication check answer different questions. Include both when an external package is part of the intended workflow.

Self-hosted caching has replacement APIs

The closing update in issue #28434 announces free self-hosted cache packages and an API for building a custom cache. It also names preTasksExecution and postTasksExecution hooks in Nx 20 and Nx 21. Those statements give a more complete account of the cache dispute than the earlier warning alone: the discussion contains both objections to the change and the project's replacement interfaces.

el-davo said security drove the team's decision to administer its own on-premises MinIO S3 storage. The closing update says the API structure changed because of the Rust migration. For an existing integration, inventory its actual jobs before choosing the replacement: storing cache artifacts and running work before or after tasks are different responsibilities, and the update describes different interfaces for them.

Cache ownership is a practical selection criterion when an organization already operates its storage. Assign an owner to the integration and keep its expected behavior alongside the upgrade procedure. The project's announcement of free self-hosted packages answers a narrower question than whether a particular team's existing runner maps cleanly onto the changed API: it establishes the announced options available for evaluation.

Production deployment needs its own dependency boundary

Evaluate the production dependency subset and lockfile separately: issue #1777 contains a manifest workaround and a separate unresolved lockfile request. A manifest lists dependencies, while a lockfile records resolved versions. Those files serve related purposes, but producing one does not produce the other. Define both as release outputs when the server is meant to ship independently of frontend applications.

In issue #1777, kraiz reported using generate-package-json-webpack-plugin and then asked for a yarn/npm lockfile solution. That sequence is useful because it separates dependency selection from dependency resolution. The production artifact should contain the intended files and dependency declarations, while its lockfile should describe the versions used for that artifact. The historical comment supplies a reported approach to the first problem and an explicit question about the second.

For a deployment evaluation, start with the smallest server that resembles the one you intend to ship. State which application files, shared libraries and runtime dependencies belong in its artifact, then assess that artifact outside the development workspace. This is a proposed acceptance check. It follows the distinction raised in the manifest discussion and avoids treating the root workspace's complete dependency installation as the desired production output.

Published libraries also need their style assets

Issue #3203 reports shared stylesheet trouble when building a buildable library. A library's release boundary can therefore include SCSS variables or global styles as well as TypeScript exports. If consumers need those assets, list their paths and expected imports alongside the package's JavaScript entry points, so the publication check covers what another application will actually consume.

A commenter in issue #3203 reported linking the included package through top-level node_modules. Their example used a package-style SCSS import, @import "@company/libname/styles/helper.scss". That account explains the intended consumption pattern: the stylesheet is addressed through the package rather than a workspace-relative path. It is a troubleshooting lead for understanding the artifact boundary, rather than a command sequence presented here as a completed solution.

The same publication checklist can cover nested library dependencies from issue #602 and bundled output from issue #4620. Record what the consumer receives, which dependencies remain external and which style files must be present. This gives the evaluation one concrete target. Internal application execution, editor resolution and external package consumption can then be assessed against their own expected outputs instead of being treated as interchangeable successes.

Nx vs Turborepo and existing package scripts

Nx and Turborepo both document incremental adoption around existing repository tasks. Their documentation gives useful integration models to compare: Nx describes optional technology plugins, while Turborepo describes existing package.json scripts, declared dependencies and a turbo.json file. Start with the coordination problem you need to solve, then compare the configuration and cache ownership each approach would require.

Choice Documented or reported basis When to consider it
Nx The Nx README describes existing scripts, caching and optional plugins. Related projects need coordinated tasks and technology integrations.
Turborepo Its introduction describes existing scripts, declared dependencies, turbo.json and remote caching. You want to compare coordination around package scripts.
Existing package scripts The Nx README begins from scripts already in a workspace. Those scripts already meet the repository's coordination needs.
NestJS without Nx The Nest README describes a TypeScript backend framework. A backend's existing framework workflow already handles its tasks.

Use the same repository change and expected outputs for an Nx-versus-Turborepo evaluation. Include a fresh task execution, a cached execution, a shared-library change and an application-only change. These are proposed comparisons, with the artifact held constant. A team choosing between the tools needs results from its own task graph and cache arrangement rather than a recommendation inferred from a contributor checkout's installation time.

FAQ

Issue #1777 records a manifest-generation approach but leaves its author's lockfile request unanswered. That distinction answers the production-dependency question more directly than treating a smaller package.json as a complete deployment procedure. The questions below come from the issue discussions and the Nx-versus-Turborepo search intent; they connect those requests to the documented capabilities and reported outcomes discussed above.

How does Nx compare with Turborepo?

Nx documents existing-script adoption and optional technology plugins; Turborepo documents existing scripts, declared dependencies and turbo.json. The Nx README and Turborepo introduction describe those integration models. Compare them by the task relationships, artifact outputs and cache arrangement you need to operate. The comparison table keeps those choices separate from the backend framework itself.

Can I generate an application-specific lockfile alongside a minimal package.json?

kraiz reported generating a manifest with a webpack plugin, then said they had not found a yarn/npm lockfile solution in issue #1777. The useful answer from that account is to track the two outputs separately. A generated dependency list addresses package selection; the requested lockfile addresses the versions installed for the production application.

How can I publish one Nx library with all its internal dependencies bundled?

dangviettuan reported finishing a custom Rollup build script after reading Nx source code in issue #4620. Evaluate the intended bundled artifact in the target Nx version, including which dependencies become part of the package and which remain external. The historical account supplies a concrete reported workaround without determining the configuration required by a different version or project.

What we have not tested yet

commit de268d8 is the measured contributor checkout; release 24.1.0 is separate release metadata, not the tested version. Application adoption, production deployment, cache restoration, cache API migration and comparative performance remain untested. The README's unpinned npx nx init example was not executed or established as an exact-version reproduction procedure. Historical packaging, deployment, discovery, stylesheet and editor workarounds were not reproduced against the target release.

The log tails omit the earlier .NET analyzer detail and the reason the Gradle wrapper fetch failed. They provide no passing-test count or assertion results. Actual runtime and operating-system versions require raw toolchain logs; lab-node:22 identifies the configured image. The checkout footprint is not an application-adoption disk requirement, and the missing tests directory does not show an absence of tests. The Compose failure belongs to the deployment harness's prerequisite check.

No application latency, CI savings, cache security assessment or representative support-quality result was measured. Issue #20738 records an isolatedConfig warning after the reporter removed the option and identifies Nx 17.2.0; its readable excerpt supplies no completed repair. Page rendering, related links, recommendation modules and template behavior were also outside this text-and-evidence review. The next useful application run should produce the exact server or published package the team intends to ship.

Alternatives

ProjectWhat it isPick it when
Turborepo gh↗Its documentation describes task scheduling, remote caching and integration with existing package.json scripts.Compare it when coordinating existing package scripts and choosing a cache arrangement are your main requirements.
NestJS without Nx gh↗Nest is a TypeScript framework for building backends on Node.js.Keep the existing framework workflow in consideration for a backend whose current scripts already handle its tasks.

What people are saying

  1. [velocity-scout] Ruiz481/totk-optimizer-nx-pro-patcher-installer
  2. [velocity-scout] Elegantic/designcenter-nx-desktop

Sources

  1. Nx README
  2. Custom runners and self-hosted caching discussion
  3. Publishing bundled libraries
  4. Application dependency manifests
  5. Turborepo documentation
  6. NestJS README

More dev tools reviews