Skip to content
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

Could not be resolved to an NgModule class with Angular ivy #470

Closed
Ketec opened this issue Aug 16, 2019 · 2 comments
Closed

Could not be resolved to an NgModule class with Angular ivy #470

Ketec opened this issue Aug 16, 2019 · 2 comments

Comments

@Ketec
Copy link

Ketec commented Aug 16, 2019

Send this bug to the support over a month ago - it's the only thing holding back enabling Ivy on the project.
It was supposedly passed on - but I do not see a related ticket in here. So not sure if it got lost or not.

Because MbscModule return value is not a valid ngModule definition, it causes fatal errors.
It fails because the return value is undefined.
function registerNgModuleType(ngModuleType)
All that's required is ivy enabled and using MbscModule in any of the app's modules.

@dioslaska
Copy link
Contributor

So far it looks like this is an issue with Ivy. We reported it to the Angular team: angular/angular#30972 (comment)

@dioslaska
Copy link
Contributor

Starting from 4.9.0 Ivy is supported, but only in the 9.x version of Angular (current version being v9.0.0-rc.4).

In Angular 8.x the ngcc compiler has some bugs and cannot compile some of the Mobiscroll components.

In 9.x ngcc still has some bugs when used with minified es5 files, but we added workarounds to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants