# Babylonjs unity - Build project error

**URL:** https://forum.babylonjs.com/t/babylonjs-unity-build-project-error/36832
**Category:** Questions
**Tags:** documentation, tutorial
**Created:** [December 23, 2022, 2:23pm UTC](https://forum.babylonjs.com/t/babylonjs-unity-build-project-error/36832 "2022-12-23T14:23:22Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)
#### Post date: [January 25, 2023, 5:31pm UTC](https://forum.babylonjs.com/t/babylonjs-unity-build-project-error/36832/5 "2023-01-25T17:31:49Z")

</div>

You need to match the TypeScript version to the the Babylon Version you are building…

So either try update your global typescript:

```auto
npm -i g typescript

```

of run the local npm install in the root of your project like it says in the **script compiler** section of the exporter panel

```auto
npm install

```

---

_[View the full topic](https://forum.babylonjs.com/t/babylonjs-unity-build-project-error/36832)._
