mirkonasato / angular2-course-webpack-starter

Simple Angular 2 + TypeScript + Webpack starter project used in the Angular 2 From The Ground Up course.
MIT License
44 stars 17 forks source link

trying to "target": "es6" in tsconfig.json #3

Open kamalvision89tech opened 8 years ago

kamalvision89tech commented 8 years ago

ERROR in C:\techApps\angular2-course-webpack-starter-master\typings\globals\core -js\index.d.ts (635,5): error TS2300: Duplicate identifier 'prototype'.

ERROR in C:\techApps\angular2-course-webpack-starter-master\typings\globals\core -js\index.d.ts (646,5): error TS2300: Duplicate identifier 'done'.

ERROR in C:\techApps\angular2-course-webpack-starter-master\typings\globals\core -js\index.d.ts (647,5): error TS2300: Duplicate identifier 'value'.

ERROR in C:\techApps\angular2-course-webpack-starter-master\typings\globals\core -js\index.d.ts (759,5): error TS2300: Duplicate identifier 'prototype'.

ERROR in C:\techApps\angular2-course-webpack-starter-master\src\app\app.module.t s (1,26): error TS2307: Cannot find module '@angular/core'.

ERROR in C:\techApps\angular2-course-webpack-starter-master\src\app\app.module.t s (2,31): error TS2307: Cannot find module '@angular/platform-browser'.

ERROR in C:\techApps\angular2-course-webpack-starter-master\src\app\app.componen t.ts (1,27): error TS2307: Cannot find module '@angular/core'.

ERROR in ./src/main.ts (5,32): error TS2307: Cannot find module '@angular/core'.

ERROR in ./src/main.ts (6,40): error TS2307: Cannot find module '@angular/platform-browser-dynamic'.

is there any setup for ES6?

mirkonasato commented 8 years ago

ES6 modules require Webpack 2 that's still in beta.