Open sulymka opened 1 month ago
env: node version v18.17.1 nativescropt 8.8.0
to reproduce make new app with
ns create myCoolApp and select angular
add dependencies to package.json
"@microsoft/applicationinsights-channel-js": "^3.3.0", "@microsoft/applicationinsights-common": "^3.3.0", "@microsoft/applicationinsights-web": "^3.3.0",
add init code to app.component.ts
import { ApplicationInsights } from "@microsoft/applicationinsights-web"; ngOnInit() { let appInsights = new ApplicationInsights({ config: { instrumentationKey: insight_key, isHybridApp: true } } as any); appInsights.loadAppInsights(); }
start the app and see the error
Error calling module function TypeError: Cannot read properties of undefined (reading '0') File: (file: src/webpack:/myCoolApp/webpack/bootstrap:27:0)
@jitendraP-ashutec will appreciate if you will be able to take a look on this issue
env: node version v18.17.1 nativescropt 8.8.0
to reproduce make new app with
add dependencies to package.json
add init code to app.component.ts
start the app and see the error
Error calling module function TypeError: Cannot read properties of undefined (reading '0') File: (file: src/webpack:/myCoolApp/webpack/bootstrap:27:0)