launchdarkly / react-client-sdk

LaunchDarkly Client-side SDK for React.js
Other
79 stars 67 forks source link

Type Error e.getSummary(launchdarkly-js-client-sdk/dist/ldclient.es) #176

Open eduardo-barley opened 1 year ago

eduardo-barley commented 1 year ago

Issue: Typer error on e.getSummary(launchdarkly-js-client-sdk/dist/ldclient.es).

TypeError Cannot read properties of undefined (reading 'push')

Application logger catching this.

Version: "launchdarkly-react-client-sdk": "2.28.0",

yusinto commented 1 year ago

@eduardo-barley thanks for reporting this issue. Are you able to provide more information as stated in our issue template please? Specifically steps to reproduce, os/platform, browser, dev tools involved, environment (dev/production).

hwangm commented 1 year ago

@yusinto this could be the same issue I found https://github.com/launchdarkly/react-client-sdk/issues/162 @eduardo-barley does this error disappear if you set sendEventsOnFlagRead=false in your ld init configuration?

eduardo-barley commented 1 year ago

@yusinto Sorry I was on vacation 🙃 .

@hwangm Very interesting. let me look into the thread.

ENV: PROD

Browser

Name Chrome
Version 108.0.0
Brand Apple
Family Mac
Model Mac
Name Mac OS X
Version 10.15.7

yusinto commented 1 year ago

@eduardo-barley are you able to upgrade to 3.0.4 and see if this is still an issue? If it is, please provide steps to reproduce.