guillotinaweb / ngx-schema-form

HTML form generation based on JSON Schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please support Angular 11

waveiron opened this issue · comments

$ npm install ngx-schema-form --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: angular@0.0.0
npm ERR! Found: zone.js@0.11.4
npm ERR! node_modules/zone.js
npm ERR!   zone.js@"^0.11.4" from the root project
npm ERR!   peer zone.js@"^0.10.2 || ^0.11.3" from @angular/core@11.2.6
npm ERR!   node_modules/@angular/core
npm ERR!     @angular/core@"^11.2.6" from the root project
npm ERR!     peer @angular/core@"^11.0.9" from ngx-schema-form@2.6.2
npm ERR!     node_modules/ngx-schema-form
npm ERR!       ngx-schema-form@"*" from the root project
npm ERR!     4 more (@angular/common, @angular/forms, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer zone.js@"~0.10.2" from ngx-schema-form@2.6.2
npm ERR! node_modules/ngx-schema-form
npm ERR!   ngx-schema-form@"*" from the root project

Angular 11.0 was using zone.js@0.10.2 but apparently Angular 11.2 is accepting both zone.js@0.10.2 and zone.js@0.11.3.
I have just fixed the peer dependency to be compliant.
Latest version (ngx-schema-form 2.6.3) should be fine with your setup.