Languages

Angular clear cache with npm

4 points
Asked by:
AnnLen
1795

How do I clear entire cache from my angular app from npm command line level?

1 answers
4 points
Answered by:
AnnLen
1795
npm cache clean --force

Why do we use --force?

Most of the time (in my case I always use it) we need to use force to make it works.
Personally when I use this cmd without --force parameter the app still doesn't work... as expected but after running this command with --force, it works like charm.

0 comments Add comment
Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.