When I am trying to inject "@Inject(WINDOW) private window: Window" through constructor it's throwing the error "
Special mention
hello, @maciejtreder I am working on an angular 10 project. Trying to implement angular ssr by using your "@ng-toolkit/universal" package to solve global variables(window, document, localStorage) issue in ssr. But I'm getting " NullInjectorError". I didn't find any solution nowhere. Hope I'll hear from you soon.
I'm submitting a...
In package
Current behavior
When I am trying to inject "@Inject(WINDOW) private window: Window" through constructor it's throwing the error "
Special mention
hello, @maciejtreder I am working on an angular 10 project. Trying to implement angular ssr by using your "@ng-toolkit/universal" package to solve global variables(window, document, localStorage) issue in ssr. But I'm getting " NullInjectorError". I didn't find any solution nowhere. Hope I'll hear from you soon.
Environment