Closed
Description
I am currently trying out the typescript.java and the angular2-eclipse plugin (1.2.0 Snapshot).
I am using the global Angular-CLI installation (Version 1.0.0-beta.24), the embedded node.js (v4.2.4) as well as the embedded TypeScript Version (2.1.4).
When I generate a project using the Wizard (File->New->Other->Angular2 Project) and enable the TypeScript Builder, it gives me following errors:
tsc (TS2304): 'Cannot find name 'Map'.' default_keyvalue_differ.d.ts /XXX/node_modules/@angular/core/src/change_detection/differs line 24 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Map'.' default_keyvalue_differ.d.ts /XXX/node_modules/@angular/core/src/change_detection/differs line 28 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Map'.' lang.d.ts /XXX/node_modules/@angular/core/src/facade line 12 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Map'.' reflective_provider.d.ts /XXX/node_modules/@angular/core/src/di line 88 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Map'.' reflective_provider.d.ts /XXX/node_modules/@angular/core/src/di line 88 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' Observable.d.ts /XXX/node_modules/rxjs line 68 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' Observable.d.ts /XXX/node_modules/rxjs line 68 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' application_init.d.ts /XXX/node_modules/@angular/core/src line 16 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' application_ref.d.ts /XXX/node_modules/@angular/core/src line 116 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' application_ref.d.ts /XXX/node_modules/@angular/core/src line 132 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' application_ref.d.ts /XXX/node_modules/@angular/core/src line 158 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' application_ref.d.ts /XXX/node_modules/@angular/core/src line 160 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' compiler.d.ts /XXX/node_modules/@angular/core/src/linker line 53 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' compiler.d.ts /XXX/node_modules/@angular/core/src/linker line 61 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' lang.d.ts /XXX/node_modules/@angular/core/src/util line 8 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' ng_module_factory_loader.d.ts /XXX/node_modules/@angular/core/src/linker line 14 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Promise'.' system_js_ng_module_factory_loader.d.ts /XXX/node_modules/@angular/core/src/linker line 28 TypeScript Problem
tsc (TS2304): 'Cannot find name 'Set'.' lang.d.ts /XXX/node_modules/@angular/core/src/facade line 13 TypeScript Problem
However, serving and building the app (using ng serve and ng build) works perfectly.
Even executing the "Compile TypeScript" on the "tsconfig.json" under "XXX/src" works perfectly and does not show any errors.
I even tryed deleting this errors, but they come back whenever I save changes on a .ts-File.
Metadata
Metadata
Assignees
Labels
No labels