What are the main disadvantages or limitations of Node.js?
Not good for CPU-heavy tasks — single-threaded JavaScript blocks the event loop on heavy computation.
Callback / async complexity — deeply nested async code is harder to debug than sync code.
Inconsistent npm quality — huge ecosystem, but many packages are unmaintained or bloated, raising supply chain risks.
Weak type safety — dynamically typed; teams usually add TypeScript to compensate.
Memory limits — default V8 heap (~1.5–4 GB) isn't suited for large in-memory workloads without tuning.
This question tests whether you have a balanced view of the technology. Avoid being overly negative or dismissive.
Acknowledge limitations honestly while mentioning mitigation strategies like worker threads for CPU work and async/await for callback complexity.