Skip to content

[DEP0190] DeprecationWarning in @angular-devkit/build-angular ssr-dev-server #32369

Closed

Description

@Remy1Berg

Command

run

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Running ng run app:serve-ssr on Node 24 triggers DEP0190 deprecation warning.

The previous fix in #30933 addressed @angular/cli package-manager.js, but the same issue exists in ssr-dev-server/utils.js line 34.

Minimal Reproduction

ng run app:serve-ssr

Exception or Error

(node:26856) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
    at normalizeSpawnArguments (node:child_process:644:15)
    at spawn (node:child_process:789:13)
    at Observable._subscribe (...\node_modules\@angular-devkit\build-angular\src\builders\ssr-dev-server\utils.js:34:53)

Your Environment

Angular CLI: 21.1.1
@angular-devkit/build-angular: 21.1.0
Node: 24.13.0
Package Manager: npm 11.8.0
OS: Windows

Anything else relevant?

Thank you for your great efforts!

Activity

  1. added theissue type on Jan 28, 2026
  2. added a commit that references this issue on Jan 28, 2026
    941f9f8
  3. added 2 commits that reference this issue on Jan 28, 2026
    b4a8d19
    6d05d27
  4. angular-automatic-lock-bot commented on Feb 28, 2026

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  5. locked and limited conversation to collaborators on Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions