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 — fix: don't print the funding message for global installs by lazerg · Pull Request #9864 · npm/cli

Conversation

@lazerg

@lazerg lazerg commented Aug 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

What / Why

A global install prints "N packages are looking for funding / run npm fund for details", but nothing can be done with it. npm fund -g fails with EFUNDGLOBAL, and a bare npm fund loads the tree at the local prefix, so outside a project it prints the directory name and nothing else.

packagesFundingMessage in lib/utils/reify-output.js never looked at npm.global, so the hint went out for global installs too. It now returns early in that case. Making npm fund -g work is a separate feature request; #3112 already splits it out that way.

Testing

New case in test/lib/utils/reify-output.js, mirroring the existing fund: false one: with global: true the output no longer mentions funding. It fails without the change.

References

Fixes #9863
Fixes #3112

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lazerg
fix: don't print the funding message for global installs
acdd08d
@lazerg
lazerg requested review from a team as code owners August 10, 2026 08:22
martinrrm
martinrrm approved these changes Aug 10, 2026
View reviewed changes
@martinrrm
martinrrm merged commit 51c2bf8 into npm:latest Aug 12, 2026
27 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot mentioned this pull request Aug 4, 2026
chore: release 12.1.0 #9839
Merged
@reggi reggi added the backport:v11 label Aug 27, 2026
@github-actions github-actions Bot mentioned this pull request Aug 27, 2026
fix: don't print the funding message for global installs #9927
Merged
@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

🎉 Backport to release/v11 created: #9927

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

reggi pushed a commit that referenced this pull request Aug 28, 2026
@github-actions @lazerg
fix: don't print the funding message for global installs (#9927)
f28cca9
Backport of #9864 to `release/v11`.

Co-authored-by: Lazizbek Ergashev <[email protected]>
@npm-cli-bot npm-cli-bot mentioned this pull request Sep 22, 2026
deps: upgrade npm to 12.1.0 nodejs/node#66212
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@martinrrm martinrrm martinrrm approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

backport:v11

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[BUG] npm fund reports no packages, only one username [BUG] Global install shows funding message but can't get info

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@lazerg @martinrrm @reggi
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — 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.