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

Does not work with Angular Universal #316

Closed
Liudmyla01 opened this issue May 11, 2022 · 1 comment
Closed

Does not work with Angular Universal #316

Liudmyla01 opened this issue May 11, 2022 · 1 comment

Comments

@Liudmyla01
Copy link

Hello! I'm using Angular Universal (SSR) for SEO and after compiling have a problem (server build) :
ERROR TypeError: Cannot read properties of null (reading 'indexOf')
167590141-62be6578-1bda-4c10-8b90-0b34cbc87f20

@reneroth
Copy link
Collaborator

reneroth commented Apr 6, 2024

I think the problem here is the server side rendering, since in the SSR context, you might not have access to some browser specific methods and objects. There should be a way to exclude the parallax library from SSR.

@reneroth reneroth closed this as completed Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants