ApplicationInsights-node.js icon indicating copy to clipboard operation
ApplicationInsights-node.js copied to clipboard

ESM Support

Open Falven opened this issue 2 years ago • 3 comments

When will ESM support be available for this package?

Falven avatar Sep 10 '23 19:09 Falven

Yep, just got terrifically burnt by this :( Did you find a simple workaround?

I'm seeing what I can find, will post here if I get something clean

xwipeoutx avatar Sep 20 '23 04:09 xwipeoutx

Does this really mean appinsights doesn't support ESM-modules? I have tried this and that with version 3.1.0 and nothing works.

salmipa avatar May 28 '24 12:05 salmipa

By overriding a dependency, the error seems to be resolved. Maybe this also works for you?

...
  "overrides": {
    "@opentelemetry/instrumentation": "0.52.1"
  },
...

work933k avatar Jun 25 '24 14:06 work933k