angular2-dynamic-components
angular2-dynamic-components copied to clipboard
Cannot run tsc on fresh install
Hello, i'm trying to run the example, but after installing packages, i have these errors running tsc:
[email protected] tsc C:\Projects\Demos\angular2-dynamic-compo nents tsc -p tsconfig.json
node_modules/@angular/common/src/pipes/async_pipe.d.ts(44,38): error TS2304: Cannot find name 'Promise'. node_modules/@angular/compiler/src/compile_metadata.d.ts(369,30): error TS2304:Cannot find name 'Promise'. node_modules/@angular/compiler/src/compile_metadata.d.ts(415,30): error TS2304:Cannot find name 'Promise'. node_modules/@angular/compiler/src/compile_metadata.d.ts(418,246): error TS2304: Cannot find name 'Promise'. node_modules/@angular/compiler/src/directive_normalizer.d.ts(38,72): error TS2304: Cannot find name 'Promise'. node_modules/@angular/compiler/src/directive_normalizer.d.ts(40,74): error TS2304: Cannot find name 'Promise'. node_modules/@angular/compiler/src/metadata_resolver.d.ts(62,18): error TS2304:Cannot find name 'Promise'. node_modules/@angular/compiler/src/offline_compiler.d.ts(32,87): error TS2304: Cannot find name 'Promise'. node_modules/@angular/compiler/src/offline_compiler.d.ts(49,9): error TS2304: Cannot find name 'Promise'. node_modules/@angular/compiler/src/resource_loader.d.ts(13,23): error TS2304: Cannot find name 'Promise'. node_modules/@angular/compiler/src/runtime_compiler.d.ts(44,49): error TS2304: Cannot find name 'Promise'. node_modules/@angular/compiler/src/runtime_compiler.d.ts(46,65): error TS2304: Cannot find name 'Promise'. ... ... Am I missing something?