Ion-spinner directive not compiling (solved)

I’ve added <ion-spinner></ion-spinner> html to my application’s template, but it seems like the directive is not being compiled. When viewing the page in the browser ion-spinner has no content.

The rest of my Ionic app with Ionic directives are working fine.

What could I be missing in my setup?

My Ionic version was too old, updated and now working.