Thanks a lot.
I’m facing a strange problem. I specify base directory as a root.
I found out yarn
installs almost all modules into root node_modules
folder.
I did do experiment on my local machine:
- I removed all
node_modules
folders including in all sub packages. - I executed
yarn install
in the root folder. It took around one minute. - I removed non-root node_modules (as if they weren’t cached).
- I executed
yarn install
in the root folder one more time. It took around 10 second.
So, on my local machine subsequent executing yarn install
is much more faster than the first time, but on Netlify’s system it always takes the same time (about one minute).
It seems root node_modules
isn’t being cached.