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 properties of null (reading 'getHeader') while prerendering in Angular with ngx-cookie #441

Closed
anwarulislam opened this issue Apr 6, 2022 · 0 comments
Labels

Comments

@anwarulislam
Copy link

Describe the bug
While trying to prerender pages and using ngx-cookie getting this error. getHeader method isn't readable from null. I'm attaching the screenshot of the log.

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Stacktrace
If applicable, add stacktrace to help explain your problem.

Environment:

  • Angular version [e.g. 10.0.1]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant