Skip to content

*.ngfactory files are replaced by *.ngsummary.json files with Typescript 2.1+ when running ngc #13632

Closed

Description

@gs00s

I'm submitting a bug report

Current behavior
Using Typescript 2.0.10 the *.ngfactory.ts files are created for modules and components. When upgrading to newest 2.1+ Typescript only *.ngsummary.json files are created instead of the factories making it unable to compile the application.

Expected behavior
Still generate ngfactory files besides ngsummary files.

Minimal reproduction of the problem with instructions
In my repository changing Typescript to 2.1.4 and Awesome Typescript Loader to 3.0.0-beta.17 produces the aforementioned behavior.

What is the motivation / use case for changing the behavior?
Still be able to generate AOT applications with newest Typescript

Please tell us about your environment:
Ubuntu 16.04

Angular version: 2.4.1

Browser: all

Language: TypeScript 2.1.4

Node (for AoT issues): node --version = 6.7.0

Activity

  1. mattlewis92 commented on Dec 22, 2016

    @mattlewis92
    Contributor

    AFAIK angular isn't yet compatible with typescript 2.1 due to typescript API changes, you'll need to wait for this to land: #13294

  2. pkozlowski-opensource commented on Dec 30, 2016

    @pkozlowski-opensource
    Member

    See #13715

  3. angular-automatic-lock-bot commented on Sep 10, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  4. locked and limited conversation to collaborators on Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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