# Cannot find type definition file for 'angularFTW' after installing GUI module

**URL:** <https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535>\
**Category:** Questions\
**Created:** [September 8, 2019, 6:45pm UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535 "2019-09-08T18:45:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![srobarts](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@srobarts](https://forum.babylonjs.com/u/srobarts)\
**Post date:** [September 8, 2019, 6:45pm UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535/1 "2019-09-08T18:45:34Z")

</div>

I’m getting the error TS2688: Cannot find type definition file for ‘angularFTW’. after installing the BabylonJS GUI module. I used NPM to install it and added  
“types”: [  
“babylonjs”,  
“babylonjs-gui”,  
“angularFTW”  
],  
to my tsconfig.json since I’m using Typescript…  
I’m not sure what I’m doing wrong, couldn’t find anything on Google about ‘angularFTW’ so I’m kinda stumped…

---

<div class="post-metadata">

**Author:** ![Devin\_Wright](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/devin_wright/32/4302_2.png) [@Devin\_Wright](https://forum.babylonjs.com/u/Devin_Wright)\
**Post date:** [September 9, 2019, 4:46pm UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535/2 "2019-09-09T16:46:25Z")

</div>

Why did you add angularFTW to the types? This would not be an babylon issue if it is a different package you are using.

---

<div class="post-metadata">

**Author:** ![srobarts](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@srobarts](https://forum.babylonjs.com/u/srobarts)\
**Post date:** [September 9, 2019, 6:05pm UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535/3 "2019-09-09T18:05:49Z")

</div>

I’m just following the instructions here [Babylon.js/dist/preview release/gui at master · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/tree/master/dist/preview%20release/gui)  
which say to add that to your tsconfig.json.

Even if I remove it, using webpack still complains with the same error.

---

<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:** [September 9, 2019, 6:27pm UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535/4 "2019-09-09T18:27:09Z")

</div>

`angularFTW` is just a part of my weird sense of humor. I will remove it in a sec!  
About the typings - it depends what bundler and typescript version you are using. Are you trying to use es6 modules? or are you trying to use commonjs?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [September 9, 2019, 8:39pm UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535/5 "2019-09-09T20:39:17Z")

</div>

So you were THE GUY who added it  
I thought it was @sebavan has a has the same humor 😃

---

<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:** [September 9, 2019, 8:51pm UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535/6 "2019-09-09T20:51:28Z")

</div>

Not sure if it is a good or bad thing 😉

---

<div class="post-metadata">

**Author:** ![srobarts](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@srobarts](https://forum.babylonjs.com/u/srobarts)\
**Post date:** [September 9, 2019, 9:16pm UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535/7 "2019-09-09T21:16:54Z")

</div>

This is my tsconfig.json:  
{  
“compilerOptions”: {  
“module”: “esNext”,  
“target”: “es5”,  
“moduleResolution”: “node”,  
}  
}

---

<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:** [September 10, 2019, 6:45am UTC](https://forum.babylonjs.com/t/cannot-find-type-definition-file-for-angularftw-after-installing-gui-module/5535/8 "2019-09-10T06:45:17Z")

</div>

You are targeting esNext modules, I would recommend you using the es6 modules instead of the regular npm-packages. They have everything you need!  
See here:

> **[@babylonjs/gui](https://www.npmjs.com/package/@babylonjs/gui)**
>
> The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.
