This is the 20th day of my participation in the November Gwen Challenge. Check out the details: The last Gwen Challenge 2021
preface
On the front end development will encounter all sorts of situations, especially for developers just engaged in front-end development soon, will encounter all sorts of strange questions, sometimes encountered for the first time or are not familiar with, often because a small error delay a lot of time trying to identify and solve, this needs in the work of summary and induction, Write down all the problems you encounter so that you can quickly solve similar problems in the future. NPM install: XXX packages are looking for funding run NPM fund
After updating the dependencies, run the NPM install command line and an error message is displayed. The error message does not work.
An error prompt
When running the project through the command line, an error message is displayed, as follows:
35 packages are looking for funding
run `npm fund` for details
found 18 vulnerabilities (3 low, 9 moderate, 6 high)
run `npm audit fix` to fix them, or `npm audit` for details
Copy the code
The solution
Based on the above error analysis, it can be seen that the above problems are not errors. Specific solutions to the above problems are as follows:
1, in fact, the above prompt has also given a solution or troubleshooting method, that is, immediately following the above prompt, enter the command line:
npm fund
2, then you can view the specific prompt content, which is dependent on the tip donation prompt, and then enter a command:
npm run dev
If you don’t want to donate to github or skip this prompt, you can simply add –no-fund to the end of the link.
npm install --no-fund
However, in the spirit of voluntary reward and support of dependent providers, it can be somewhat supported, so as to give developers the confidence to survive and a greater incentive to create original development.
The last
NPM fund: XXX packages are looking for funding run NPM fund
The above is all the content of this chapter. Welcome to pay attention to the wechat public account of Sanzhan “Program Ape by Sanzhan”, and the Sina Weibo account of Sanzhan “Sanzhan 666”, welcome to pay attention!