npm start reset cache

장유라·2022년 4월 14일
0

npm

목록 보기
1/1

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

0개의 댓글