# Error engine.d.ts Babylonjs-Angular

**URL:** <https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085>\
**Category:** Bugs\
**Tags:** engine\
**Created:** [October 24, 2022, 7:55pm UTC](https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085 "2022-10-24T19:55:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sistemas13](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sistemas13](https://forum.babylonjs.com/u/sistemas13)\
**Post date:** [October 24, 2022, 7:55pm UTC](https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085/1 "2022-10-24T19:55:06Z")

</div>

Hi, I have a problem with babylonjs and angular, when I run the ng serve command this errors appears:

 ![errsa](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/2/f2c7e280c96a0596c7c9158504f68db2ae75b08d.png)  
I can´t resolve.

---

<div class="post-metadata">

**Author:** ![docEdub](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/docedub/32/14525_2.png) [@docEdub](https://forum.babylonjs.com/u/docEdub)\
**Post date:** [October 25, 2022, 4:49am UTC](https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085/2 "2022-10-25T04:49:40Z")

</div>

Hello and welcome to the Babylon.js forum!

Can you share a link to your project?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [October 25, 2022, 2:09pm UTC](https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085/3 "2022-10-25T14:09:38Z")

</div>

I think @RaananW fixed this recently and it requires the latest typescript version.

@RaananW please correct me if I am wrong 🙂

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 25, 2022, 2:34pm UTC](https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085/4 "2022-10-25T14:34:06Z")

</div>

This was just updated, but shouldn’t have caused any issues, even with old(er) versions of typescript. At least not the last 2-3 minor versions.  
Did it work until now? Or is it the first time you are trying to do that?

I also find it a little odd that this is reported from engine.d.t and not webxr.d.ts . Can you share a reproduction?

---

<div class="post-metadata">

**Author:** ![sistemas13](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sistemas13](https://forum.babylonjs.com/u/sistemas13)\
**Post date:** [October 25, 2022, 3:52pm UTC](https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085/5 "2022-10-25T15:52:39Z")

</div>

I started the project yesterday, and still i can´t fix, I want to integrate babylonjs into an angular project, I already update typescript version in Angular and babylon to 4.8.2 and still this errors appears.

---

<div class="post-metadata">

**Author:** ![Ryan80](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@Ryan80](https://forum.babylonjs.com/u/Ryan80)\
**Post date:** [October 26, 2022, 5:28pm UTC](https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085/6 "2022-10-26T17:28:23Z")

</div>

I see the same string of errors. I can’t share any code because we’re using BabylonJS in a major product configuration tool, it isn’t something I can just paste into a playground example. 5.29.0 works with Typescript 4.8.4 as long as my Angular packages are all 14.2.2 and 14.2.3. Once the Angular packages get updated, I see the same errors shown above.

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 26, 2022, 5:34pm UTC](https://forum.babylonjs.com/t/error-engine-d-ts-babylonjs-angular/35085/7 "2022-10-26T17:34:11Z")

</div>

Sorry, forgot to update here - I have an open PR to fix these issues, it will hopfully be merged soon
