SpinePlugin.js 'on' of undefined?

From this guide
https://photonstorm.github.io/phaser3-docs/SpinePlugin.html

But I get

SpinePlugin.js:2550 Uncaught TypeError: Cannot read property β€˜on’ of undefined

Any ideas anyone?

Still cannot find any working SpinePlugin :frowning:

OK, I found the issue. I was using older version of Phaser 3.15.10 which breaks. And Phaser 3.21.0 works great BUT then I found new issue game.renderer.resize(); for some reason breaks, causing nothing to render