You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
Creating an optimized production build...
Failed to compile.
C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/src/helpers/app-insights.ts
TypeScript error in C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/src/helpers/app-insights.ts(17,30):
Type 'ReactPlugin' is not assignable to type 'ITelemetryPlugin'.
Types of property 'processTelemetry' are incompatible.
Type '(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext | undefined) => void' is not assignable to type '(env: ITelemetryItem, itemCtx?: IProcessTelemetryContext | undefined) => void'.
Types of parameters 'itemCtx' and 'itemCtx' are incompatible.
Type 'import("C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/node_modules/@microsoft/applicationinsights-web/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext").IProcessTelemetryContext | undefined' is not assignable to type 'import("C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext").IProcessTelemetryContext | undefined'.
Type 'import("C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/node_modules/@microsoft/applicationinsights-web/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext").IProcessTelemetryContext' is not assignable to type 'import("C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext").IProcessTelemetryContext'.
The types returned by 'core()' are incompatible between these types.
Type 'IAppInsightsCore' is missing the following properties from type 'IAppInsightsCore': getCookieMgr, setCookieMgr TS2322
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: react-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\local\AppData\npm-cache_logs\2021-04-28T06_12_14_438Z-debug.log"
Also tried following -
i) Failed after redeploy.
ii) I have deleted node_modules manually and redeploy, still failed
GreatIdeas app service deployment failed, following error is found in log under App Service > Deployment Center > logs-
"Building the client app using 'npm'. This may take several minutes...
npm run build
Creating an optimized production build...
Failed to compile.
C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/src/helpers/app-insights.ts
TypeScript error in C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/src/helpers/app-insights.ts(17,30):
Type 'ReactPlugin' is not assignable to type 'ITelemetryPlugin'.
Types of property 'processTelemetry' are incompatible.
Type '(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext | undefined) => void' is not assignable to type '(env: ITelemetryItem, itemCtx?: IProcessTelemetryContext | undefined) => void'.
Types of parameters 'itemCtx' and 'itemCtx' are incompatible.
Type 'import("C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/node_modules/@microsoft/applicationinsights-web/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext").IProcessTelemetryContext | undefined' is not assignable to type 'import("C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext").IProcessTelemetryContext | undefined'.
Type 'import("C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/node_modules/@microsoft/applicationinsights-web/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext").IProcessTelemetryContext' is not assignable to type 'import("C:/home/site/repository/Source/Microsoft.Teams.Apps.SubmitIdea/ClientApp/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext").IProcessTelemetryContext'.
The types returned by 'core()' are incompatible between these types.
Type 'IAppInsightsCore' is missing the following properties from type 'IAppInsightsCore': getCookieMgr, setCookieMgr TS2322
15 | config: {
16 | instrumentationKey: telemetry,
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:
react-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\local\AppData\npm-cache_logs\2021-04-28T06_12_14_438Z-debug.log"
Also tried following -
i) Failed after redeploy.
ii) I have deleted node_modules manually and redeploy, still failed
Find the full log -
Failed to deploy greatIdeas app.txt
The text was updated successfully, but these errors were encountered: