当前位置: 首页 > 工具软件 > Looking For > 使用案例 >

packages are looking for funding run `npm fund` for details ( npm 支持开发者添加募款链接)

晏炳
2023-12-01

项目场景:

当您运行

npm run dev 

显示一下界面

问题描述:

added 1237 packages, changed 2 packages, and audited 1240 packages in 30s

81 packages are looking for funding
  run `npm fund` for details

27 vulnerabilities (17 moderate, 10 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

原因分析:

不是报错

翻译:1个包正在寻找资金
运行npm fund了解详细信息
不是报错,只是开发者寻求捐赠支持

运行后显示一大堆网站和包,大意是包开发者可以在包的描述文件(package.json)里放上一段募款声明,这样包的用户在安装的时候,就会看到我开篇写的那些文字。提醒包的开发者:你们可以通过捐赠的方式,表达对依赖开发者的感谢。

拿第一条网址来看看,里面是捐款信息
https://opencollective.com/core-js

解决方案:

直接运行 npm fund
然后再运行你的 npm run dev 即可!

PS F:---------mydemo2> npm fund
mydemo2@0.1.0
├── https://opencollective.com/core-js
│   └── core-js@3.19.2, core-js-compat@3.19.2
├─┬ https://opencollective.com/babel
│ │ └── @babel/core@7.16.0
│ └── https://opencollective.com/browserslist
│     └── browserslist@4.18.1, caniuse-lite@1.0.30001283
├─┬ https://opencollective.com/webpack
│ │ └── webpack@4.46.0, schema-utils@2.7.1, copy-webpack-plugin@5.1.2, css-loader@3.6.0
│ ├── https://github.com/sponsors/feross
│ │   └── base64-js@1.5.1, ieee754@1.2.1, safe-buffer@5.2.1, arch@2.2.0
│ ├── https://github.com/sponsors/isaacs
│ │   └── glob@7.2.0
│ └── https://github.com/sponsors/jonschlinkert
│     └── picomatch@2.3.0
├── https://github.com/sponsors/ljharb
│   └── resolve@1.20.0, is-core-module@2.8.0, object.assign@4.1.2, call-bind@1.0.2, get-intrinsic@1.1.1, has-symbols@1.0.2, object.values@1.1.5, es-abstract@1.19.1, es-to-primitive@1.2.1, is-date-object@1.0.5, has-tostringtag@1.0.0, is-symbol@1.0.4, get-symbol-description@1.0.0, is-callable@1.2.4, is-negative-zero@2.0.1, is-regex@1.1.4, is-shared-array-buffer@1.0.1, is-string@1.0.7, is-weakref@1.0.1, object-inspect@1.11.0, string.prototype.trimend@1.0.4, string.prototype.trimstart@1.0.4, unbox-primitive@1.0.1, has-bigints@1.0.1, which-boxed-primitive@1.0.2, is-bigint@1.0.4, is-boolean-object@1.1.2, is-number-object@1.0.6, side-channel@1.0.4, util.promisify@1.0.1, object.getownpropertydescriptors@2.1.3, deep-equal@1.1.1, is-arguments@1.1.1, object-is@1.1.5, regexp.prototype.flags@1.3.1
├── https://github.com/sponsors/sindresorhus
│   └── camelcase@6.2.1, cli-spinners@2.6.1, parse-json@5.2.0, p-limit@2.3.0, make-dir@3.1.0, is-plain-obj@3.0.0, is-docker@2.2.1, get-stream@5.2.0, is-stream@2.0.1, onetime@5.1.2
├── https://github.com/sponsors/epoberezkin
│   └── ajv@6.12.6
├── https://github.com/avajs/find-cache-dir?sponsor=1
│   └── find-cache-dir@3.3.2
├── https://tidelift.com/funding/github/npm/autoprefixer
│   └── autoprefixer@9.8.8
├── https://opencollective.com/postcss/
│   └── postcss@7.0.39, postcss-load-config@2.1.2
├── https://github.com/sponsors/wooorm
│   └── vendors@1.0.4
├── https://github.com/sponsors/fb55
│   └── css-what@3.4.2, domelementtype@2.2.0, css-select@4.1.3, css-what@5.1.0
├── https://github.com/fb55/entities?sponsor=1
│   └── entities@2.2.0
├── https://github.com/chalk/ansi-styles?sponsor=1
│   └── ansi-styles@4.3.0
├── https://github.com/sponsors/RubenVerborgh
│   └── follow-redirects@1.14.5
├── https://github.com/chalk/chalk?sponsor=1
│   └── chalk@4.1.2
├── https://github.com/chalk/wrap-ansi?sponsor=1
│   └── wrap-ansi@7.0.0
├── https://github.com/fb55/htmlparser2?sponsor=1
│   └── htmlparser2@6.1.0
└── https://tidelift.com/funding/github/npm/loglevel
    └── loglevel@1.8.0
 类似资料: