What does 'x packages are looking for funding' mean when running `npm install`?

前端 未结 6 2127
谎友^
谎友^ 2020-12-01 03:04

I usually get \"x packages are looking for funding.\" when running npm install on a react project. Any idea what that

6条回答
  •  余生分开走
    2020-12-01 04:02

    First of all, try to support open source developers when you can, they invest quite a lot of their (free) time into these packages. But if you want to get rid of funding messages, you can configure NPM to turn these off. The command to do this is:

    npm config set fund false --global
    

    ... or if you just want to turn it off for a particular project, run this in the project directory:

    npm config set fund false 
    

    For details why this was implemented, see @Stokely's and @ArunPratap's answers.

提交回复
热议问题