How I achieved 0 vulnerabilities for Ionic project


ionic npm angular

  1. The first thing i did was the deletion of package-lock.json

  2. Then deleted the node_modules

  3. Ran the npx npm-check-updates and got the following:

    npx npm-check-updates

  4. Then I ran the ncu -u:

    ncu - u command

  5. The package.json was updated.

  6. npm install --force

  7. npm audit fix --force

  8. npm install

After all these actions I got the result:

found 0 vulnerabilities NPM

comments powered by Disqus