ngx-segment-analytics icon indicating copy to clipboard operation
ngx-segment-analytics copied to clipboard

Version 1.5.0 Crashes Angular App with "Cannot access 'WindowWrapper' before initialization

Open andrewryan1906 opened this issue 5 years ago • 4 comments

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:

image

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.

andrewryan1906 avatar Dec 24 '19 23:12 andrewryan1906