Cannot find module number_value_accessor in angular-forms


#1

Cannot find module number_value_accessor in angular-forms has been fixed in ng2-2.2.0-rc0, but ionic 2 rc2 needs ng2-2.1.1.

What to do?


#2

did you tried to increase angular2 packages version?

There should not be any breaking changes there.


#3
saveup@ /Users/tyrion/devel/saveup-front
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/common@2.2.0-rc.0
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/compiler@2.2.0-rc.0
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/compiler-cli@2.2.0-rc.0
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/core@2.2.0-rc.0
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/forms@2.2.0-rc.0
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/http@2.2.0-rc.0
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/platform-browser@2.2.0-rc.0
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/platform-browser-dynamic@2.2.0-rc.0
β”œβ”€β”€ UNMET PEER DEPENDENCY @angular/platform-server@2.2.0-rc.0
└─┬ @ionic/storage@1.1.6
  └── @angular/core@2.1.2

npm WARN @ngrx/store@2.2.1 requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN angular2-jwt@0.1.23 requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN angular2-jwt@0.1.23 requires a peer of @angular/http@^2.0.0 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/common@2.1.1 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/compiler@2.1.1 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/compiler-cli@2.1.1 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/core@2.1.1 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/forms@2.1.1 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/http@2.1.1 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/platform-browser@2.1.1 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/platform-browser-dynamic@2.1.1 but none was installed.
npm WARN ionic-angular@2.0.0-rc.2 requires a peer of @angular/platform-server@2.1.1 but none was installed.
npm WARN ng2-translate@4.0.0 requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN ng2-translate@4.0.0 requires a peer of @angular/http@^2.0.0 but none was installed.

#4

meeeeh… fixed dependencies …sorry ^^


#5

Unsure what you mean by β€œfixed”. Is there a way around this? Any ideas?


#6

The ionic packages itself has fixed dependency versions to angular. So you have to wait until a next release


#7

Our $2M Software Project will certainly not wait. Release date is T-21 days. I fixed it by removing type="number" in input field. Trivial.