Skip to content

[compiler-cli]: AOT build use @angular/forms/src/directives/number_value_accessor and cannot find it #12428

Closed

Description

@delagen

I'm submitting a ... (check one with "x")

[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior
2.1.0 version does not include @angular/forms/src/directives/number_value_accessor in generated factories
2.1.1 include it but in genDir/node_modules/@angular... this file is missing

Expected behavior
Compiling as was

  • Angular version: 2.1.1
  • Language: Typescript 2.03
  • Node (for AoT issues): node --version = 6.9.1

Activity

  1. DzmitryShylovich commented on Oct 21, 2016

    @DzmitryShylovich
    Contributor

    Can u pls provide repo with reproduction?

  2. SamVerschueren commented on Oct 21, 2016

    @SamVerschueren
    Contributor

    Experiencing the same issue. It happens when you have a form element that has input type="number".

  3. SamVerschueren commented on Oct 21, 2016

    @SamVerschueren
    Contributor

    Created a repository that reproduces this bug.

    https://github.com/SamVerschueren/angular2-number-value-accessor-bug

  4. tbosch commented on Oct 21, 2016

    @tbosch
    Contributor

    This seems to be a duplicate of #11889. That previous bug was only about components. However, as we now also generate .ngfactory.ts files for directives, this bug becomes more severe.

  5. delagen commented on Oct 22, 2016

    @delagen
    ContributorAuthor

    @tbosch No. it appear only in 2.1.1, before all works well, Number Value Accessor missing before 2.1.1 both in generated factories and in forms module

  6. added 2 commits that reference this issue on Oct 24, 2016
    a838aba
    0fd859c
  7. 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.

  8. 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions