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

Issue with appinsights in nodejs version > 14.15.4

Open ArtemisMucaj opened this issue 3 years ago • 1 comments

Hi,

We're encountering a strange issue with appinsights lib and it seems to be related to Node.js versions when used in conjunction with mongodb lib.

Cannot add property Symbol(async_id_symbol), object is not extensible

Probably related to https://github.com/nodejs/node/issues/42229

In Node.js version 14.15.4 it works just fine, when we use a higher version we get the error above.

Any ideas as to how we can fix this? Is this a known issue?

Thanks!

ArtemisMucaj avatar Mar 31 '22 15:03 ArtemisMucaj

@ArtemisMucaj can you include the full error message here?, which file is generating the error?

hectorhdzg avatar Apr 05 '22 16:04 hectorhdzg

I believe my issue was due to a frozen object that was being mutated by the lib. I'll be closing this issue.

ArtemisMucaj avatar Mar 20 '23 12:03 ArtemisMucaj