Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Webpack introduction provides an invalid sample #3198

@Deilan

Description

@Deilan

https://angular.io/docs/ts/latest/guide/webpack.html

After all the steps in the article the app won't start using npm start because of the following errors:

94% asset optimization
[at-loader] Checking started in a separate process...

[at-loader] Checking finished with 77 errors
chunk    {0} vendor.js (vendor) 2.97 MB {2} [initial] [rendered]
chunk    {1} app.js, app.css (app) 3.11 kB {0} [initial] [rendered]
chunk    {2} polyfills.js (polyfills) 501 kB [entry] [rendered]

ERROR in [at-loader] node_modules\@angular\common\src\directives\ng_class.d.ts:48:34
    TS2304: Cannot find name 'Set'.

ERROR in [at-loader] node_modules\@angular\common\src\pipes\async_pipe.d.ts:44:38
    TS2304: Cannot find name 'Promise'.

ERROR in [at-loader] node_modules\@angular\compiler\src\aot\compiler.d.ts:32:38
    TS2304: Cannot find name 'Promise'.

ERROR in [at-loader] node_modules\@angular\compiler\src\aot\compiler.d.ts:44:32
    TS2304: Cannot find name 'Map'.

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions