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.

Ivy: Cannot combine @Input decorators with query decorators

See original GitHub issue

Steps to reproduce

  • using NzTable and/or NzPagination
  • turn on ivy
  • build

What is expected?

Should build successfully

What is actually happening?

Building process throws ERROR in Cannot combine @Input decorators with query decorators

@Input & @ViewChild are used together in NzTable and NzPagination, which is not allowed in Ivy.

Environment Info
ng-zorro-antd 8.0.1
Browser not concerned

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

21reactions
akash-guptcommented, Sep 6, 2019

is there any updates on Ivy ?

0reactions
sleekcodacommented, Jan 24, 2020

it’s now January 2020 - same error

If you’re still experiencing this error follow the official documentation for migrating to angular 9 here https://update.angular.io/. I did the same and now everything works fine

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular - Cannot combine @Input decorators with query ...
0 and i'am now trying the new compiler ivy. The app works perfectly without ivy but when i try to compile with it...
Read more >
ERROR in Cannot combine @Input decorators with query ...
Based on the error message, it looks like @input() and @ContentChild decorators are used on the same field in a Component class. This...
Read more >
Cannot combine @Input decorators with query decorators
Hi, · i'm upgrading to Angular 9. Almost everything works excepts for Karma tests in my SearchModule wich uses the GridModule of Syncfusion....
Read more >
angular/angular-cli - Input - Gitter
Hi, I updated to v8 and the project is building fine. But when I enable Ivy, it shows this error: "Cannot combine @Input...
Read more >
Angular – Cannot combine @Input decorators with query decorators ...
The app works perfectly without ivy but when i try to compile with it i have the following error : Cannot combine @Input...
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