Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Update AppInsights dependencies and fix ITelemetryPlugin error #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hmnzr
Copy link

@hmnzr hmnzr commented Sep 9, 2020

I have experienced an issue while attempting to deploy the app to App Service. The client app has failed to build with
Type 'ReactPlugin' is not assignable to type 'ITelemetryPlugin'. error.

I suspect this has happened due to a version mismatch from different app insights packages.
@microsoft/applicationinsights-react-js has a dependency requirement on a @microsoft/applicationinsights-core-js with a caret and was resolved to 2.5.8, while @microsoft/applicationinsights-web has a fixed depency to 2.5.7.

Syncing both libraries to the latest versions worked for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant