npm / cli

the package manager for JavaScript

Home Page:https://docs.npmjs.com/cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] npm@10.6.0 changes npx output

neophob opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

npm 10.6.0 introduced a verbose npx console log, example:

npx a-command

> npx
> a-command

OUTPUT

Expected Behavior

npx output should be identical like npm 10.5.0:

npx a-command
OUTPUT

Steps To Reproduce

tested linux and osx, so I assume this can easy be reproduced.

this breaks any app that parses a console output of npx

Environment

npm v10.6.0

https://github.com/npm/cli/pull/7415/files looks like it could be the source of this (unexpected?) change

Same issue, they put a fix in. See #7419