Skip to content

[BUG] npm 10.6.0 doesn't log anything while npm install #7425

@lorand-horvath

Description

@lorand-horvath

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

The latest npm 10.6.0 doesn't log anything while installing the packages with npm install. It only prints the final results. So npm is working for almost 50 seconds without notifying the user whether it is doing anything at all. The behavior is similar to npm install --loglevel silent of the previous version 10.5.2.

Expected Behavior

The logging should be displayed, showing the user that the installation is proceeding. It shouldn't be silenced completely.

Steps To Reproduce

  1. Environment: Command Prompt, npm 10.6.0, node 18.20.2
  2. npm install with an existing package.json in the root directory
  3. no loggin observed while installing the packages to node_modules

Environment

  • npm: 10.6.0
  • Node.js: 18.20.2
  • OS Name: Windows
  • System Model Name: Desktop PC
; copy and paste output from `npm config ls` here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions