This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
Yarn fetches all packages on every build (cache issue) #600
Labels
type: bug
code to address defects in shipped code
Despite a 289 MB cache being restored at the start of each build, Yarn v2 fetches all but 4 packages during every build.
Build directory:
packages/studio
packages/studio/netlify.toml
:Log:
IMO the "right" way to handle Yarn caching is to cache
.yarn/cache
(or wherever youryarn config get cacheFolder
is), and let Yarn rebuildnode_modules/
on each build. You want to cache its cache between builds, not its outputs.The text was updated successfully, but these errors were encountered: