Seems incompatible with Angular 11
See original GitHub issueI updated my Angular project from 10 to 11 before adding ngx-ui-switch. (saying that because maybe I left out something when doing so manually)
After adding ngx-ui-switch as per the documentation, the CLI gives the following error on ng s
be resolved to an NgModule class.
This likely means that the library (ngx-ui-switch/ui-switch/ui-switch.module) which declares UiSwitchModule has not been processed correctly by ngcc,
or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.```
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Upgrade from Angular 11 to 12 causes peer dependency ...
I had to use npm v6 to make a successful update: npm -g i npm@^6 npm i ng update @angular/cli@^12 @angular/core@^12.
Read more >NPM complains about a dependency conflict : r/Angular2
I have the latest version of Angular 11. I have tried with Node 12 and Node 14 installed, no difference. I have tried...
Read more >Guide to update your Angular application v8.2 -> v12. ...
Run NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@8 update @angular/core@8 @angular/cli@8 in your workspace directory to update to the latest 8.x version of @ ...
Read more >Angular update V8 to V11 - Roshan Khandelwal - Medium
Version — 11: angular-11-update-branch ... Package "@angular/cdk" has an incompatible peer dependency to "@angular/common" (requires "^8.0.0 ...
Read more >A quick guide to upgrade from 9.0 to 12.0
Updating package. · IE11 support is deprecated. · Update 'zone. · Remove 'emitDecoratorMetadata' TypeScript compiler option. · Lazy loading syntax ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lcnvdl send a PR with fixes for ng 9 and ivy.
Tried with ivy explicitly enabled on 11.2.x and it works.
Feel free to reopen with a reproduction