Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[4.0] `nuxt upgrade` in Windows displays "DEP0190" error

Open
#1,613 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
node.js, nuxt, typescript

Research direction

The warning comes from child_process spawn with shell: true on Windows when Node 24 runs nuxt upgrade, so start by finding where the CLI spawns the package manager command for the upgrade step. Reproduce on Windows or reason from the DEP0190 text, then check whether arguments can be passed as an array without a shell. Done when the upgrade runs on Node 24 without the DEP0190 warning and the Linux behaviour is unchanged.

Written by the indexing model from the issue text.

Description

On Windows OS with Node 24.21, I run bunx nuxt upgrade or npx nuxt upgrade I receive the following error message:

ERROR (node:15012) [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.

Workaround: Use "--disable-warning=DEP0190" to suppress the warning.

This appears to have started with Nuxt CLI 4.x as I don't recall previous versions displaying this error message recently. I don't see this message on a Linux OS.

Thank you.

Dominant language
TypeScript
Stars
401
Forks
123
Avg merge
1d 1h
Merged PRs (30d)
71

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nuxt/cli

All issues in nuxt/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.