npm cache clean
# To clear a cache in npm, we need to run the npm cache clean --force command in our terminal:
: npm cache clean --force
# clean: It deletes the all data from your cache folder
# You can also verify the cache, by running the following command:
- npm cache verify
- npm cache clear --force
- npm cache rm --force
- npm cache verify
# how to clean the npm cache
- npm cache clear --force
- npm cache rm --force
- npm cache verify
# clean remove npm with cache
- rm package-lock.json
- rm -R node_modules
- npm cache clean --force
# yarn start-reset-cache
- watchman watch-del-all && rm -f yarn.lock && rm -rf node_modules && yarn start --reset-cache