Implying that project-based learning fails is like saying the practice of learning to play whole pieces of music on piano fails (to use the same comparison the author has used.)
Staying on the author's comparison: to learn to play piano, one must practice exercises in isolation (deliberate practice, as Angela Duckworth calls it in "Grit," an amazing book) AND ALSO practice playing whole pieces of music.
The same is true for learning anything. Practice exercises in isolation PLUS project-based learning is the most effective way.