NPM dynamically imports all the environmental requirements
for hosting a website locally ,while working
on a projects, there is tons of cache that is generated
for the frequently used elements, and this cache is needed to be
cleared since it may cause problem in backend performance to a
some extend.
we can rather reclaim disk space by clearing cache or reinstalling libraries free of cache.
To delete all data out of the cache folder on Linux, macOS and Windows,
you can use the following npm cache command:
npm cache clean --force
To then verify that the cache has been successfully cleared, you can run the following command:
npm cache verify
No comments:
Post a Comment