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
Describe the bug
While building production app for ionic 5 with Angular 10 or 11 I get an error with Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) error
To Reproduce
Just upgrade your app to Angular 10 or above (which is used in Ionic 5).
Screenshots
Desktop (please complete the following information):
OS: Windows 10 Pro 64-bit & Ubuntu 20.4
Browser does not matter as it is build process
Version ^7.0.8
Additional context
The component working fine in Ionic 5 actually with latest angular (version 11), and I can workaround this issue by adding the following code to app.module.ts:
The text was updated successfully, but these errors were encountered:
almothafar
changed the title
Angular 11
Angular 10 || 11 and Ionic 5: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) error
Jan 26, 2021
Describe the bug
While building production app for ionic 5 with Angular 10 or 11 I get an error with
Generic type 'ModuleWithProviders<T>' requires 1 type argument(s)
errorTo Reproduce
Just upgrade your app to Angular 10 or above (which is used in Ionic 5).
Screenshots
Desktop (please complete the following information):
Additional context
The component working fine in Ionic 5 actually with latest angular (version 11), and I can workaround this issue by adding the following code to
app.module.ts
:The text was updated successfully, but these errors were encountered: