# The spine plugin for Phaser gives an error

**URL:** <https://phaser.discourse.group/t/the-spine-plugin-for-phaser-gives-an-error/11073>\
**Category:** Phaser 3\
**Created:** [January 18, 2022, 7:58pm UTC](https://phaser.discourse.group/t/the-spine-plugin-for-phaser-gives-an-error/11073 "2022-01-18T19:58:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavel48322](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/pavel48322/32/6132_2.png) [@Pavel48322](https://phaser.discourse.group/u/Pavel48322)\
**Post date:** [January 18, 2022, 7:58pm UTC](https://phaser.discourse.group/t/the-spine-plugin-for-phaser-gives-an-error/11073/1 "2022-01-18T19:58:30Z")

</div>

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

```javascript
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

 ![image](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/0/01187dda1c92cc239996fb3a9583406bd25498e6.png)

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [January 19, 2022, 5:30pm UTC](https://phaser.discourse.group/t/the-spine-plugin-for-phaser-gives-an-error/11073/2 "2022-01-19T17:30:54Z")

</div>

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