-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build in Production #3266
Comments
we do not support secondary module import now, plz follow #3234 |
Duplicate of #700. |
7.4.0 reintroduces this problem @wendzhue , happened to me with NzButtonModule, with a shared module that imports and exports the NzButtonModule (among others).
|
@fabioemoutinho we will fix it today, thanks for your report |
@fabioemoutinho ng-zorro-antd.metadata.json is messed up because a bug of ng-packagr: ng-packagr/ng-packagr#594. We are fixing this. Thank you for your report. |
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start?sadas
Steps to reproduce
What is expected?
Should not stop the compilation and should not use typings to resolve the class, but a real .ts files.
What is actually happening?
Unexpected value 'NzMenuModule in node_modules/ng-zorro-antd/ng-zorro-antd.d.ts' imported by the module 'ServicesModule in src/app/core/services/services.module.ts'. Please add a @NgModule annotation.
Not possible to build on Stacklitz in Production mode.
The text was updated successfully, but these errors were encountered: