The main problems with Node/NPM/Yarn are the fragmentation and churn. The situation is so bad that Rails and Phoenix are moving to alternative solutions in their latest releases.
That was always my problem with node/js in general. Installing packages for laughably basic functions got out of hand real quick. Can you point me towards somewhere where I can read about the alternative solutions you speak of?