ngx-segment-analytics
ngx-segment-analytics copied to clipboard
Version 1.5.0 Crashes Angular App with "Cannot access 'WindowWrapper' before initialization
Bug Report or Feature Request (mark with an x
)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
OS and Version?
Windows 10
Generator Version
?? Don'tknow what this is
Tools Version
npm 6.13.3 Node v12.3.1 Angular 8.2.14
Targeted Angular version
Angular 8.2.14
Repro steps.
Simply loading my angular app causes this problem. The problem disappeared when I reverted back to 1.4.0.
The log given by the failure.
When I load my Angular app, I get this message:
Desired functionality.
It should not crash my application.
Mention any other details that might be useful.
I didn't spend much time on this; I'm on a tight deadline and reverting back to 1.4.0 fixed my problem. I'm hoping the fact that the 1.50 release caused this, plus the stack trace, is enough for you to see what the problem is.