-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Cannot read property 'hasOwnProperty' of undefined #2212
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
Comments
Same problem on OS X with node v6.4.0 and npm v3.10.3 |
Check if argument is defined before calling Also |
i run into this problem too.. |
Confirmed working after @yozzd's solution. Thanks! |
yozzd solution does get rid of the console error. not sure if the authentication works though? |
I just ran
yo angular-fullstack
which worked OK. Then I rangulp serve
, and the page loaded with the following error in the console window:angular.js:13920 TypeError: Cannot read property 'hasOwnProperty' of undefined at auth.service.ts:138
This is causing the nav bar to display the logout button instead of login too, and I can access the profile page even though I haven't logged in.
The text was updated successfully, but these errors were encountered: