Open interngalactik opened 7 years ago
Isn't this issue a duplicate of this one ? https://github.com/alxhub/io17/issues/8
@stephaneeybert If it does have anything to do with #8, it also occurs separately from it, so I would say this is unrelated.
I'm also finding that ngu-app-shell is dying when it encounters a reference to window
in the open.
However, it doesn't seem to be dying when the reference is wrapped in a Subscription.
Observable.subscribe(() => window.document)
seems to be fine but
public doc: any = window.document;
inside of a class or even
function() { return window.document }
outside of a class declaration will cause ngu-app-shell to spit out an error similar to the above.
I've tried a variety of workarounds such as using declare var window;
or importing from a service, but it doesn't seem to make a difference. (see here: https://stackoverflow.com/a/37176929/1284088)
Hello, guys :)
I am experiencing the next error when I run
./node_modules/.bin/ngu-app-shell --module src/app/app.module.ts
:Environment: macOS 10.12.5, node 7.7.4
Thank you for these tools!