You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This wasn't a problem in some earlier version (like maybe 1.17,x) but we've upgraded to the latest to keep up with security, and we have to rebuild everything, every time now.
Command
yarn
What is the current behavior?
Native dependencies built files are destroyed on every install. This makes installing any package, no matter how trivially small, a 10 minute or longer process.
What is the expected behavior?
Yarn spares the built files of native dependencies.
Steps to Reproduce
Have a native dependency that has built output files
Run yarn and watch them disappear
Environment
Node Version: 12.13.0
Yarn v1 Version: 1.21.1
OS and version: Windows 7
The text was updated successfully, but these errors were encountered:
Nantris
changed the title
Native packages rebuilt every time
Native packages cleared and require rebuild every time
Apr 3, 2020
This is a duplicate of #932, except that it affects newer versions of Yarn. I'm not sure what version this began, but I want to say it's related to this issue perhaps: #7807 (comment)
This worked fine for me in 1.17 and 1.18. I haven't tested reverting and running since that's probably a good hour total, but in the meantime I'm copying saved copied of native dependencies back into node_modules after running yarn, which is far from ideal. @arcanis any thoughts on this?
Bug description
This wasn't a problem in some earlier version (like maybe 1.17,x) but we've upgraded to the latest to keep up with security, and we have to rebuild everything, every time now.
Command
What is the current behavior?
Native dependencies built files are destroyed on every
install
. This makes installing any package, no matter how trivially small, a 10 minute or longer process.What is the expected behavior?
Yarn spares the built files of native dependencies.
Steps to Reproduce
yarn
and watch them disappearEnvironment
12.13.0
1.21.1
The text was updated successfully, but these errors were encountered: