ApplicationInsights-JS icon indicating copy to clipboard operation
ApplicationInsights-JS copied to clipboard

[BUG] `@microsoft/applicationinsights-web`: TypeError: Right side of assignment cannot be destructured

Open jmyrland opened this issue 9 months ago • 7 comments

Description

Upgrading @microsoft/applicationinsights-web from 3.1.2 vs 3.2.1, we get the following error only on MAC/OS X devices - when using app insights with React.

TypeError: Right side of assignment cannot be destructured

Rolling back to 3.1.2 fixes this issue.

Steps to Reproduce

  • OS/Browser: Safari 17
  • SDK Version [e.g. 22]: ?
  • How you initialized the SDK: ?

Key dependencies for reproduction:

    "@microsoft/applicationinsights-react-js": "17.2.0",
    "@microsoft/applicationinsights-web": "3.2.1",
    "react": "18.3.1",
    "vite": "5.2.11",

Additional context

Add any other context about the problem here.

jmyrland avatar May 22 '24 07:05 jmyrland