question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Seems incompatible with Angular 11

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
cmckni3commented, Jan 12, 2021

@lcnvdl send a PR with fixes for ng 9 and ivy.

0reactions
cmckni3commented, Mar 29, 2021

Tried with ivy explicitly enabled on 11.2.x and it works.

Feel free to reopen with a reproduction

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found