-
Notifications
You must be signed in to change notification settings - Fork 4
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
Throws "Cannot redeclare block-scoped variable 'ngDevMode'" in angular 6 #4
Comments
Hey, |
@qligier thank's for this repo! Its a great lib! Just tested to upgrade to 5.0.1 but the error still occurs. |
@qligier it seems like buid 5.0.0 did work for me, but 5.0.1 didn't. (sorry was on angular5) |
Yep, version 5.0.1 is only compatible with Angular 6, I should have named it v6.0.0. The README has been updated to clarify that. |
Closing this issue as it should have been fixed with v5.0.1 update. |
@qligier Hi there, I am having the same issue, but using 5.0.1 doesn't help. I tried to install your library through yarn and npm, but none of the attempts finished successfully. Is there something else I can do about it or am I missing something? |
@qligier, hmm, I guess it is issue with yarn, because initially I installed some of modules through it and they worked fine, but your module even on 5.0.1 still gave the same error. Unfortunately installing your module through npm somehow removed some modules, which were previously installed using yarn. Finally, I dropped node_modules/ folder, did npm i and I don't get this error anymore. It would be awesome if you check why installing of your module on version 5.0.1 using yarn fails. |
Hey, glad you were able to get it working and thank you for investigating the issue. I have never used yarn, I'll test it when I have the time. |
I just updated my angular to 6 and now i have this error:
When in remove angular4-events from ng.modules.ts, it works fine.
The text was updated successfully, but these errors were encountered: