-
Notifications
You must be signed in to change notification settings - Fork 9
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
addModuleImportToRootModule does not work with module initialization #7
Comments
HI, The original code has been changed, as you can see here: It's possible this change solves your issue, so if you could verify that, it would be awesome! Until then, feel free to suggest a solution 🙂 |
It has been done - the code was refactored to use the original source! Would you like to check if now, with v2.0.0, the issue still happens? |
I am also getting the same issue and has been not able to proceed further. |
I have imported same function from @schematics/angular instead of schematics-utilities and now its working.
|
I use the the function
addModuleImportToRootModule
in the following way:As result, I get an invalid import statement in my app.module.ts. The module will be added correctly to the NgModule, but create an invalid import statement:
Is there a way to to solve this problem?
Thanks!
The text was updated successfully, but these errors were encountered: