You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Receiving this error instead: "An unhandled exception occurred: Class extends value undefined is not a constructor or null".
Environment
Info
ng-zorro-antd
9.1.0
Browser
CLI
I saw people saying that it might be due to circular dependencies but the app is working fine.
These are the logs for the error:
[error] TypeError: Class extends value undefined is not a constructor or null
at Object.<anonymous> (C:\Users\<user name>\Desktop\Work\<project name>\node_modules\ng-zorro-antd\schematics\ng-update\upgrade-rules\checks\calendar-input-rule.js:4:49)
These are the contents of the calendar-input-rule.js file:
I also tried to upgrade an empty Angular 8 app with NG-Zorro 8 to version 9 and I get the same error. One of my colleagues tried to upgrade too, but he got the same error.
The text was updated successfully, but these errors were encountered:
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-wen6uj
Steps to reproduce
ng update ng-zorro-antd
What is expected?
The upgrade to finish successfully
What is actually happening?
Receiving this error instead: "An unhandled exception occurred: Class extends value undefined is not a constructor or null".
I saw people saying that it might be due to circular dependencies but the app is working fine.
These are the logs for the error:
These are the contents of the
calendar-input-rule.js
file:I also tried to upgrade an empty Angular 8 app with NG-Zorro 8 to version 9 and I get the same error. One of my colleagues tried to upgrade too, but he got the same error.
The text was updated successfully, but these errors were encountered: