error TS2304: Cannot find name 'Promise'.Adding 'node_modules/angular2/typings/browser.d.ts' to the Gulp src appeared to fix the error and the code compiled correctly.
error TS2304: Cannot find name 'Map'.
error TS2304: Cannot find name 'Iterator'.
return gulp .src(['node_modules/angular2/typings/browser.d.ts','src/app/**/*.ts']) .pipe(typescript(tscConfig.compilerOptions)) .pipe(gulp.dest('dist/app'))
This is a source map file required for the code to compile.
No comments:
Post a Comment