# Ionic 2 serve error - app.ts - Cannot find name 'Type'

**URL:** <https://forum.ionicframework.com/t/ionic-2-serve-error-app-ts-cannot-find-name-type/44791>\
**Category:** ionic-v3\
**Created:** [February 25, 2016, 7:38pm UTC](https://forum.ionicframework.com/t/ionic-2-serve-error-app-ts-cannot-find-name-type/44791 "2016-02-25T19:38:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bonatoque](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@bonatoque](https://forum.ionicframework.com/u/bonatoque)\
**Post date:** [February 25, 2016, 7:38pm UTC](https://forum.ionicframework.com/t/ionic-2-serve-error-app-ts-cannot-find-name-type/44791/1 "2016-02-25T19:38:37Z")

</div>

I’m following the[Ionic 2 tutorial steps](http://ionicframework.com/docs/v2/getting-started/tutorial/).

I started like this :

```
ionic start MyIonic2Project tutorial --v2 --ts

```

I encountered this problem :

```
	√ Sass compilation complete
	√ HTML copied to www/build
	√ Fonts copied to www/build/fonts

	Hash: e593a886038813766c87
	Version: webpack 1.12.10
	Time: 7150ms
	        Asset Size Chunks Chunk Names
	app.bundle.js 2.67 MB 0 [emitted] main
	   [0] multi main 64 bytes {0} [built]
	    + 359 hidden modules

	ERROR in [default] /Users/christianbonato/MyIonic2Project/app/app.ts:13:42 
	Cannot find name 'Type'.

	ERROR in [default] /Users/christianbonato/MyIonic2Project/node_modules/ionic-framework/animations/animation.d.ts:48:50 
	A 'this' type is available only in a non-static member of a class or interface.

	ERROR in [default] /Users/christianbonato/MyIonic2Project/node_modules/ionic-framework/animations/animation.d.ts:54:50 
	A 'this' type is available only in a non-static member of a class or interface.

	√ Webpack complete

	∆ Starting dev server.

```

The webserver launches alright, but I’d rather fix these errors,  
I don’t know if the app may suffer later.

The errors in animation.d.ts were solved [thanks to this](https://forum.ionicframework.com/t/issue-with-animation-d-ts/44312/3).

The only error left is this one :

```
ERROR in [default] /Users/christianbonato/MyIonic2Project/app/app.ts:13:42 
	Cannot find name 'Type'.

```

Any ideas on how to fix this?

---

<div class="post-metadata">

**Author:** ![docbradfordsoftware](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@docbradfordsoftware](https://forum.ionicframework.com/u/docbradfordsoftware)\
**Post date:** [February 25, 2016, 11:18pm UTC](https://forum.ionicframework.com/t/ionic-2-serve-error-app-ts-cannot-find-name-type/44791/2 "2016-02-25T23:18:50Z")

</div>

> [@bonatoque](#):
>
> MyIonic2Project/app/app.ts:13:42

The first one in app.ts can be fixed by changing the word ‘Type’ to ‘any’

---

<div class="post-metadata">

**Author:** ![bonatoque](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@bonatoque](https://forum.ionicframework.com/u/bonatoque)\
**Post date:** [February 26, 2016, 12:13am UTC](https://forum.ionicframework.com/t/ionic-2-serve-error-app-ts-cannot-find-name-type/44791/3 "2016-02-26T00:13:02Z")

</div>

Thx a lot.

For the record, where do these errors originate from? I’m a newbie to Webpack…
