-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Angular universal support (need reopen) #176
Comments
what is your angular version |
Angular CLI: 7.2.4 Package Version@angular-devkit/architect 0.10.7 |
Can you check your package lock file like yarn.lock and search for ngx windows token and see if the version is 2 and above? |
|
This is the code from ngx-window-token It doesn't seem right, does it? I know it's opensource and all but common |
Which part? |
If there is no window |
@sokolandia I think you are correct. Or I should change it to be optional at here
|
please try [email protected] |
dude just drop that library and replace it with |
Did you try it? |
It should be fixed according to the similar issue here. maxisam/ngx-progressive-image-loader#12 |
Server side rendering still gives an error in the latest version of the library:
ERROR { Error: StaticInjectorError(AppServerModule)[InjectionToken WindowToken]: StaticInjectorError(Platform: core)[InjectionToken WindowToken]: NullInjectorError: No provider for InjectionToken WindowToken!
@angular/cli: 7.2.4
ngx-clipboard: 12.0.0
The text was updated successfully, but these errors were encountered: