The spine plugin for Phaser gives an error

I’m trying to upload the plugin to my project, tried all the methods, but nothing works. Returns an error

Uncaught TypeError: Cannot read properties of undefined (reading 'createSkeleton')
    at initialize.set Skeleton (<anonymous>:1:290667)
    at new initialize (<anonymous>:1:289262)
    at Game Object Factory.spine (<anonymous>:1:54310)
    at MainWindow.create (MainWindow.js?21c4:53:27)
    at SceneManager.create (phaser.js?d4ef:89720:1)
    at SceneManager.loadComplete (phaser.js?d4ef:89632:1)
    at Loader Plug in.emit (phaser.js?d4ef:1908:1)
    at Leaderplugin.loadComplete (phaser.js?d4ef:192810:1)
    at Loader Plug in.file Process Complete (phaser.js?d4ef:192776:1)
    at t.on Process Complete (<anonymous>:1:25378)

I work on a local server. Here is a code example of how I connect everything

Make sure you’re using Phaser v3.55.2 and maybe reexport your Spine files.