You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[compiler-cli]: AOT build use @angular/forms/src/directives/number_value_accessor and cannot find it #12428
[ 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
Reacted by Niklas, Sam Verschueren, Michael Lieberherr, Nikita Plesovskikh and Werner Kvalem Vesterås
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.
Activity
DzmitryShylovich commentedon Oct 21, 2016
Can u pls provide repo with reproduction?
SamVerschueren commentedon Oct 21, 2016
Experiencing the same issue. It happens when you have a form element that has
input type="number".SamVerschueren commentedon Oct 21, 2016
Created a repository that reproduces this bug.
https://github.com/SamVerschueren/angular2-number-value-accessor-bug
tbosch commentedon Oct 21, 2016
This seems to be a duplicate of #11889. That previous bug was only about components. However, as we now also generate
.ngfactory.tsfiles for directives, this bug becomes more severe.delagen commentedon Oct 22, 2016
@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
fix(compiler): walk third party modules (#12453)
fix(compiler): walk third party modules (#12453)
angular-automatic-lock-bot commentedon Sep 10, 2019
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.