> and I noticed that certain packages were completely missing from the node_modules folder, yet are listed in yarn.lock
Sounds like what I'd expect from running yarn clean...
(If anyone isn't aware: that command doesn't clean target folders but rather goes crazy inside node_modules.)