Then there's the lack of the standard library, which means your code has to depend on code of random people who may or may not know what they're doing.
Also, because it's the web where patching code is quick and easy, people don't seem too bothered with quality.
I've chosen mobile development myself and fortunately things are a lot more sane here.
I avoid to the point of refuse to work with any JavaScript platform at all. They are a universal shit show.
Edit: honestly I stand by this comment. I literally have spent hours this year dealing with fucked up messes in nodejs, package security issues after repos were hacked and code made it into NPM that displayed banners on commercial sites. My comment is toxic yes but quite frankly both communities are as well (PHP and NodeJS) and utterly earned that ire and discontent. The fact people lean on the stack and produce stuff that handles critical aspects of people's lives is utterly frightening. So yeah toxic, I don't care. Feel free to be annoyed. It's still a turd, just been rolled in glitter.