-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Cannot read property 'notifications' of undefined #214
Comments
I believe this should be "fixed" in the latest master. By fixed though, I mean the notification functionality should be inadvertently gone and thus the notification check does not happen anymore. @hansl can you chime in? I'm following info from #134 (comment) together with #206 |
I found this on the latest master as of yesterday morning. I can try again on a later commit in a bit. The work around obviously is to add that option in package so it hasn't blocked me or anything |
#206 happened 16h ago, I think that is when it changed. |
Looks like it's fixed in 0.0.20 👍 |
@filipesilva: Yes, it was fixed. This is a non-issue for now :) |
@hansl If it is indeed removed, then the rest of the changes introduced in the original PR should also be removed. |
Agreed. If you don't have time for that I can do it. |
In angular#214, the main notification functionality was removed due to it being in a auto-generated file. This PR removes the remainder code that was left in from angular#134. The `angular-cli` property in generated `package.json` is left in since that was the place agreed for further configuration.
The problem is that hoisted classes dont have the same name, so we need to change the regex, and to check the end of it for the class name. Also added a test to verify this works (based on RxJS issue). Also refactored the complex regex to make a bit more sense. Fixes #214.
The problem is that hoisted classes dont have the same name, so we need to change the regex, and to check the end of it for the class name. Also added a test to verify this works (based on RxJS issue). Also refactored the complex regex to make a bit more sense. Fixes #214.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
If the package.json file doesn't have an "angular-cli" field, calls to
ng build
will fail with the following error:The text was updated successfully, but these errors were encountered: