serverless-python-requirements icon indicating copy to clipboard operation
serverless-python-requirements copied to clipboard

Debug and document clearing cache

Open j-adamczyk opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched existing issues, it hasn't been reported yet

Use case description

I had to clean libraries cache to fix "Cannot unpack zip" error. There is a cleanCache option, but it is currently undocumented. Additionally, it does not print where cache is cleaned without --debug option, and additionally it does not clean all .zip files from cache, I had to do this manually.

Proposed solution (optional)

  1. Add sls requirements cleanCache to docs
  2. Include information about --debug flag to see cache location
  3. Fix cleanCache to remove everything in the cache

j-adamczyk avatar Dec 07 '22 11:12 j-adamczyk