Muhammad Usman
Muhammad Usman

Reputation: 357

When I install any npm package in window this error occur and can not install package properly

145 packages are looking for funding run npm fund for details

found 6 vulnerabilities (4 moderate, 2 high) run npm audit fix to fix them, or npm audit for details

Upvotes: 1

Views: 6699

Answers (3)

rassakra
rassakra

Reputation: 1121

Delete node_modules and package-lock.json after taht:

npm audit fix
npm install

Upvotes: 1

Veve
Veve

Reputation: 6758

This isn't an error, this message is normal.

145 packages are looking for funding run npm fund for details

This line is a donation call (not mandatory)

found 6 vulnerabilities (4 moderate, 2 high) run npm audit fix to fix them, or npm audit for details

This line informs you that some of your package.json modules have vulnerabilities. Run npm audit to view a list of them and the associated vulnerabilities.

If you run the mentioned command npm audit fix, it will try to automatically fix it for you by updating your package.json with new versions for these modules.

Upvotes: 1

Deep1man3
Deep1man3

Reputation: 192

Delete folder 'node_modules' and run in console:

npm install // or yarn install

Upvotes: 2

Related Questions