ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

'ionic serve' ENOENT 'main.d.ts' after updating Typings to 1.0.4

Open tsbignoob opened this issue 10 years ago • 10 comments

Typings 1.0.x doesn't generate 'main.d.ts' or 'browser.d.ts' by default anymore. After upgrading typings to 1.0.4, the typings folder will contain only one 'index.d.ts'.

Running 'ionic serve' will result in the following error: ... Caught exception: Error: ENOENT: no such file or directory, lstat 'Y:\myapp\typings\main.d.ts' at Error (native) at Object.fs.lstatSync (fs.js:887:18) at Object.realpathSync (fs.js:1518:21) at Y:\sos\sos-ms-ts\node_modules\tsify\index.js:58:38 at Array.map (native) at DestroyableTransform.flush as _flush at DestroyableTransform. (Y:\sos\sos-ms-ts\node_modules\through2\node_modules\readable-stream\lib_stream_transform.js:115:49) at DestroyableTransform.g (events.js:273:16) at emitNone (events.js:80:13) at DestroyableTransform.emit (events.js:179:7) ... Seems like something somewhere requires the existence of 'main.d.ts'. Grepping for 'main.d.ts' doesn't show anything interesting, just one reference in 'platform\android\assets\www\build\js\app.bundle.js.map' which is probably not the one causing it.

tsbignoob avatar May 23 '16 22:05 tsbignoob

workaround for people encountering this, just renaming/copying "typings/index.d.ts" to "main.d.ts" would let 'ionic serve' runs and everything looks ok.

tsbignoob avatar May 24 '16 05:05 tsbignoob

I too am suffering from this. @tsbignoob temporary solution seems to work for me.

nraboy avatar May 29 '16 00:05 nraboy

maybe the core code in ionic2 depend vi typings/main.d.ts. and nobody konws typings will have breaking changes from 0.8.x to 1.0.x. read more from typings release 1.0.

wujun4code avatar May 30 '16 07:05 wujun4code

Problem is in: /node_modules/ionic-gulp-browserify-typescript/index.js:15:


var defaultOptions = {
  watch: false,
  src: ['./app/app.ts', './typings/main.d.ts'],
  outputPath: 'www/build/js/',
  outputFile: 'app.bundle.js',
  minify: false,
  browserifyOptions: {
    cache: {},
    packageCache: {},
    debug: true
  },
  watchifyOptions: {},
  tsifyOptions: {},
  uglifyOptions: {},
  onError: function(err){
    console.error(err.toString());
  },
  onLog: function(log){
    console.log((log = log.split(' '), log[0] = pretty(log[0]), log.join(' ')));
  }
}

dont clone the index.d.ts as main.d.ts. Either set a symlink or create a main.d.ts in /typings/ with the following content:

/// <reference path="index.d.ts" />

CanKattwinkel avatar Jun 06 '16 14:06 CanKattwinkel

updating the browerify and tsify along with it will fix this issue for use with typings>=1.0.4. the format of typings was changes from using main.d.ts to index.d.ts and ambients were changed to globals amongst a few other things.

Slavrix avatar Jun 07 '16 23:06 Slavrix

Hello all! Is this still an issue with the latest version of ionic? Thanks!

jgw96 avatar Jul 12 '16 20:07 jgw96

@jgw96 not tested but should be yeah.

https://github.com/driftyco/ionic-gulp-tasks/issues/30#issuecomment-232130752

CanKattwinkel avatar Jul 13 '16 07:07 CanKattwinkel

This has been fixed with the 2.0 release of our browserify ts package. Thanks for using Ionic!

jgw96 avatar Jul 13 '16 15:07 jgw96

C:\Users\endriazizi\Documents\BareboneIonic2-1.1\BareboneIonic2-1.1\project>ionic serve --lab (node:9760) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. Running 'serve:before' gulp task before serve [12:03:50] Starting 'clean'... [12:03:50] Finished 'clean' after 122 ms [12:03:50] Starting 'watch'... [12:03:50] Starting 'sass'... [12:03:51] Starting 'html'... [12:03:51] Starting 'fonts'... [12:03:51] Starting 'scripts'... [12:03:51] Finished 'scripts' after 282 ms [12:03:51] Finished 'fonts' after 305 ms [12:03:51] Finished 'html' after 333 ms [12:03:54] Finished 'sass' after 3.95 s TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/local-storage/local-storage.service.ts(39,44): Error TS2339: Property 'find' does not exist on type 'LocalStorageItem[]'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/facebook/facebook-oauth.provider.ts(32,11): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/facebook/facebook-oauth.provider.ts(37,27): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/google/google-oauth.provider.ts(27,11): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/google/google-oauth.provider.ts(31,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/oauth.provider.interface.ts(4,11): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/oauth.provider.interface.ts(5,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/oauth.service.ts(17,25): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/oauth.service.ts(20,12): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/oauth.service.ts(36,16): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/oauth/oauth.service.ts(38,11): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/sqlite/sqlite.service.ts(21,19): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/pages/youtube/youtube.service.ts(40,10): Error TS2322: Type 'Observable<{}>' is not assignable to type 'Observable<YoutubeVideo[]>'. Type '{}' is not assignable to type 'YoutubeVideo[]'. Property 'length' is missing in type '{}'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/app/services/email.service.ts(12,29): Error TS2339: Property 'cordova' does not exist on type 'Window'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/directives/ng_class.d.ts(81,35): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/async.d.ts(34,33): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/async.d.ts(35,45): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/lang.d.ts(11,17): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/lang.d.ts(12,17): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/lang.d.ts(68,59): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(9,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(15,32): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(16,38): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(17,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(17,93): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(18,34): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(18,50): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(19,32): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(19,149): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/facade/promise.d.ts(20,43): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/common/src/pipes/async_pipe.d.ts(41,38): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/application_ref.d.ts(79,88): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/application_ref.d.ts(137,42): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/application_ref.d.ts(196,33): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(26,16): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/di/reflective_provider.d.ts(115,123): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/di/reflective_provider.d.ts(115,165): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/async.d.ts(34,33): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/async.d.ts(35,45): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(1,25): Error TS2304: Cannot find name 'MapConstructor'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(2,25): Error TS2304: Cannot find name 'SetConstructor'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(4,27): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(4,39): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(7,9): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(8,30): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(11,43): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(12,27): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(14,23): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(15,25): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(100,41): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(101,22): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/collection.d.ts(102,25): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/lang.d.ts(11,17): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/lang.d.ts(12,17): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/lang.d.ts(68,59): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(9,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(15,32): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(16,38): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(17,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(17,93): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(18,34): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(18,50): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(19,32): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(19,149): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/facade/promise.d.ts(20,43): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/compiler.d.ts(13,59): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/component_resolver.d.ts(9,58): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/component_resolver.d.ts(13,49): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(61,148): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(102,144): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(107,139): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(108,135): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(18,53): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(26,53): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/http/src/headers.d.ts(45,59): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/@angular/http/src/url_search_params.d.ts(46,16): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/directives/google-map-info-window.d.ts(91,13): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/directives/google-map-info-window.d.ts(95,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/directives/google-map.d.ts(118,22): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/application_ref.d.ts(39,88): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/application_ref.d.ts(99,42): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/application_ref.d.ts(174,33): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(26,16): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/di/reflective_provider.d.ts(105,123): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/di/reflective_provider.d.ts(105,165): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/async.d.ts(27,33): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/async.d.ts(28,45): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(1,25): Error TS2304: Cannot find name 'MapConstructor'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(2,25): Error TS2304: Cannot find name 'SetConstructor'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(4,27): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(4,39): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(7,9): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(8,30): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(11,43): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(12,27): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(14,23): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(15,25): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(100,41): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(101,22): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/collection.d.ts(102,25): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/lang.d.ts(4,17): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/lang.d.ts(5,17): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/lang.d.ts(70,59): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(2,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(8,32): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(9,38): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(10,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(10,93): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(11,34): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(11,50): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(12,32): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(12,149): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/facade/promise.d.ts(13,43): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/linker/component_resolver.d.ts(8,53): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/linker/component_resolver.d.ts(12,44): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(62,148): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(103,144): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(108,139): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(109,135): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/reflection/reflector.d.ts(28,22): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/reflection/reflector.d.ts(30,15): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/reflection/reflector.d.ts(32,15): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/reflection/reflector.d.ts(34,15): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/reflection/reflector.d.ts(36,16): Error TS2304: Cannot find name 'Set'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/node_modules/@angular/core/src/testability/testability.d.ts(40,20): Error TS2304: Cannot find name 'Map'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(21,66): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(26,53): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(27,61): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(29,48): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(30,16): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(31,28): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(32,18): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(33,15): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/google-maps-api-wrapper.d.ts(37,41): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/info-window-manager.d.ts(18,60): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/info-window-manager.d.ts(19,55): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/info-window-manager.d.ts(20,53): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/info-window-manager.d.ts(21,48): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/info-window-manager.d.ts(22,49): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/info-window-manager.d.ts(23,82): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/maps-api-loader/lazy-maps-api-loader.d.ts(61,13): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/maps-api-loader/maps-api-loader.d.ts(8,22): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/maps-api-loader/noop-maps-api-loader.d.ts(14,13): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/marker-manager.d.ts(17,48): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/marker-manager.d.ts(18,56): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/marker-manager.d.ts(19,47): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/marker-manager.d.ts(20,47): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/marker-manager.d.ts(21,51): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/marker-manager.d.ts(22,46): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/angular2-google-maps/services/marker-manager.d.ts(24,51): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/app/app.d.ts(68,15): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/content/content.d.ts(152,56): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/content/content.d.ts(176,37): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/content/content.d.ts(192,40): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/menu/menu-controller.d.ts(122,28): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/menu/menu-controller.d.ts(130,29): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/menu/menu-controller.d.ts(138,30): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/menu/menu.d.ts(268,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/menu/menu.d.ts(292,13): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/menu/menu.d.ts(296,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/menu/menu.d.ts(300,15): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/modal/modal.d.ts(141,25): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(220,58): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(301,29): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(368,55): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(395,63): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(419,78): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(451,29): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(476,29): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(483,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(490,53): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/nav-controller.d.ts(510,75): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/components/nav/view-controller.d.ts(99,63): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/platform.d.ts(170,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/local-storage.d.ts(38,23): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/local-storage.d.ts(45,38): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/local-storage.d.ts(51,26): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/local-storage.d.ts(56,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/sql.d.ts(49,43): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/sql.d.ts(55,23): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/sql.d.ts(62,38): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/sql.d.ts(68,26): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/sql.d.ts(73,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(16,23): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(17,27): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(18,39): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(19,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(20,26): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(21,41): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(22,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(32,23): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(33,35): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(34,26): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(35,41): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/platform/storage/storage.d.ts(36,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/util/dom.d.ts(18,53): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/util/dom.d.ts(19,58): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/util/keyboard.d.ts(60,88): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ng2-cordova-oauth/oauth.d.ts(4,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ng2-cordova-oauth/oauth.d.ts(7,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ng2-cordova-oauth/provider/facebook.d.ts(12,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ng2-cordova-oauth/provider/google.d.ts(11,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ng2-cordova-oauth/provider/imgur.d.ts(10,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ng2-cordova-oauth/provider/meetup.d.ts(10,14): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/Observable.d.ts(10,66): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/Observable.d.ts(66,60): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/Observable.d.ts(66,70): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/observable/PromiseObservable.d.ts(22,31): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/observable/PromiseObservable.d.ts(23,26): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/operator/toPromise.d.ts(7,59): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/operator/toPromise.d.ts(7,69): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/operator/toPromise.d.ts(9,9): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/operator/toPromise.d.ts(10,26): Error TS2304: Cannot find name 'Promise'. TypeScript error: C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/rxjs/operator/toPromise.d.ts(10,36): Error TS2304: Cannot find name 'Promise'. TypeScript error: app/app.ts(1,15): Error TS2305: Module '"C:/Users/endriazizi/Documents/BareboneIonic2-1.1/BareboneIonic2-1.1/project/node_modules/ionic-angular/index"' has no exported member 'IonicApp'. TypeScript error: app/app.ts(31,2): Error TS2348: Value of type 'typeof App' is not callable. Did you mean to include 'new'? TypeScript error: app/app.ts(89,22): Error TS2339: Property 'StatusBar' does not exist on type 'Window'. TypeScript error: app/app.ts(90,12): Error TS2339: Property 'StatusBar' does not exist on type 'Window'. [12:04:06] Finished 'watch' after 16 s [12:04:06] Starting 'serve:before'... [12:04:06] Finished 'serve:before' after 6.53 μs The port 8100 was taken on the host localhost - using port 8101 instead The port 35729 was taken on the host localhost - using port 35730 instead Running live reload server: http://localhost:35730 Watching: www/**/*, !www/lib/**/* √ Running dev server: http://localhost:8101 Ionic server commands, enter: restart or r to restart the client app from the root goto or g and a url to have the app navigate to the given url consolelogs or c to enable/disable console log output serverlogs or s to enable/disable server log output quit or q to shutdown the server and exit ionic $ I am getting this error, I really don't know how to solve it. ```C:\Users\endriazizi\Documents\BareboneIonic2-1.1\BareboneIonic2-1.1\project>ionic info Your system information: Cordova CLI: 6.3.0 Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic Framework Version: 2.0.0-beta.10 Ionic CLI Version: 2.0.0-beta.33 Ionic App Lib Version: 2.0.0-beta.19 OS: Node Version: v6.3.0`

Could someone help me?

Thanks in advance :)

endriazizi avatar Jul 27 '16 10:07 endriazizi

On windows:

ngc error: Error: Error at C:/abraham_new/ImmerMedical/.tmp/pages/register/register.ts:14:10: Property 'loading' does not exist on type 'RegisterPage'.

abrahamstalin avatar Oct 04 '16 04:10 abrahamstalin