Programming languages are not just languages anymore, they are ecosystems and ecosystems takes time to evolve and it is really really hard for a new ecosystem to evolve when there are already established ecosystems.
The languages ecosystems feeds on themselves. Example: My OS is written in C hence the best way to write my program would be to use C or some other language that can easily interoperate with C.
It doesn't always take time. The javascript/npm ecosystem has grown very rapidly. Probably because the language is simple to learn and use and there were already many developers who knew some javascript.