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

Cannot read property 'group' of undefined #276

Closed
pgrm opened this issue Aug 15, 2017 · 1 comment
Closed

Cannot read property 'group' of undefined #276

pgrm opened this issue Aug 15, 2017 · 1 comment

Comments

@pgrm
Copy link

pgrm commented Aug 15, 2017

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request

What is the current behavior?

I've found the error Cannot read property 'group' of undefined logged in my sentry errors. The error is thrown from this line of code:

this.console.group(reason);

That means that this.console should be undefined.

The stack trace is coming from

verifyOutput(output, this.errorReporter);
and inside here from
reportInvalidActions(output, reporter);

I'm importing EffectsModule.forRoot(...) exactly once in my application, in my main module, so I don't quite understand how this.console could be undefined.

Expected behavior:

Not getting that error, instead seeing the log output

Minimal reproduction of the problem with instructions:

Unfortunately I don't quite understand how to get into that part of code, and therefore couldn't reproduce it.

Version of affected browser(s),operating system(s), npm, node and ngrx:

  • Browser: Chrome 60.0.3112
  • OS: Windows 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants