Why am i getting npm fund error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why am i getting npm fund error?

used npm install -g truffle@5.0.2 in the windows terminal and when i tried to check the version of truffle , am getting an error. i tried npm install -g truffle@5.0.2 and got "2 packages are looking for funding. how can i solve this ? also i am getting an error on using touch package.json on windows. what are the other ways to install truffle framework?

1st Apr 2023, 1:01 PM
Santhos RAJ 14
2 Answers
+ 6
Please share the code
1st Apr 2023, 1:46 PM
Sakshi
Sakshi - avatar
+ 4
npm is built around open source software. Every library typically has a net of dependencies, other libraries each developed by different individuals or companies, and published for free use. However, creating and maintaining all this code requires effort that can be expressed in money. "Looking for funding" is not an error, it is a way for library authors to express their request for donations. https://stackoverflow.com/questions/58972251/what-does-x-packages-are-looking-for-funding-mean-when-running-npm-install Are you sure that you are getting errors, and not just deprecation warnings? https://ethereum.stackexchange.com/questions/135693/npm-global-truffle-install-error touch is Linux command. On windows just open notepad or any text editor and save your file, or right click in the folder to create a new file.
3rd Apr 2023, 3:55 AM
Tibor Santa
Tibor Santa - avatar