GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [BUG] `install-strategy=linked`: a fresh install reports "up to date" instead of "added N" · Issue #9623 · npm/cli

[BUG] install-strategy=linked: a fresh install reports "up to date" instead of "added N" #9623

New issue
Copy link
New issue
Copy link
Closed
#9661
Closed
[BUG] install-strategy=linked: a fresh install reports "up to date" instead of "added N"#9623
#9661
Copy link

Description

@manzoorwanijk
manzoorwanijk
opened on Jun 23, 2026
Issue body actions

Part of #9608.

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

This is not just a request to bump a dependency for a CVE

  • This is not solely a request to bump a dependency for a CVE

Current Behavior

A fresh npm install under install-strategy=linked that actually creates the .store entries and symlinks prints up to date, audited N packages instead of added N packages. The packages are installed correctly; only the summary line is misleading, which can lead users and CI to believe nothing changed. The hoisted strategy prints added N packages.

Expected Behavior

A fresh install that materializes packages should report the number of packages added (e.g. added N packages) under the linked strategy, matching the hoisted strategy.

Steps To Reproduce

cd "$(mktemp -d)"
echo 'install-strategy=linked' > .npmrc
echo '{ "name": "cq", "version": "1.0.0", "dependencies": { "minimatch": "3.0.4" } }' > package.json
npm install
#   linked:  up to date, audited 5 packages          (it just created 4 store entries + a symlink)
#   hoisted: added 4 packages, and audited 5 packages

Environment

  • npm: 12.0.0-pre.1 (latest)
  • Node.js: v24.17.0
  • OS Name: macOS (Darwin 25.5.0)
  • System Model Name: MacBook (arm64)
  • npm config:
install-strategy=linked

Activity

  1. owlstronaut
    closed this as completedin #9661on Jun 25, 2026
  2. pull
    added a commit that references this issue on Jun 25, 2026

    fix(reify): report added count for fresh linked installs (npm#9661)

    This issue will close once commit 0c33947 is merged into the 'latest' branch.
    0c33947
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.