<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: @arcgis/core 4.19.3 + Angular 8 + TypeScript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-19-3-angular-8-typescript/m-p/1056569#M73038</link>
    <description>&lt;P&gt;After checking the &lt;A href="https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli" target="_self"&gt;document&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;, I upgrade Angular to &lt;STRONG&gt;11.2.13&lt;/STRONG&gt;&amp;nbsp;and everything works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the dependencies and tsconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  "dependencies": {
    "@angular/animations": "~11.2.13",
    "@angular/common": "~11.2.13",
    "@angular/compiler": "~11.2.13",
    "@angular/core": "~11.2.13",
    "@angular/forms": "~11.2.13",
    "@angular/platform-browser": "~11.2.13",
    "@angular/platform-browser-dynamic": "~11.2.13",
    "@angular/router": "~11.2.13",
    "@arcgis/core": "^4.19.3",
    "rxjs": "~6.6.0",
    "tslib": "^2.0.0",
    "zone.js": "~0.11.3"
  }


/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
  "compileOnSave": false,
  "compilerOptions": {

    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "forceConsistentCasingInFileNames": true,
    "strict": false,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "importHelpers": true,
    "target": "es2015",
    "module": "es2020",
    "lib": [
      "es2018",
      "dom"
    ]
  },
  "angularCompilerOptions": {
    "enableI18nLegacyMessageIdFormat": false,
    "strictInjectionParameters": true,
    "strictInputAccessModifiers": true,
    "strictTemplates": true
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry for the confusion.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 07:19:15 GMT</pubDate>
    <dc:creator>LeoDeng</dc:creator>
    <dc:date>2021-05-11T07:19:15Z</dc:date>
    <item>
      <title>@arcgis/core 4.19.3 + Angular 8 + TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-19-3-angular-8-typescript/m-p/1056541#M73036</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm trying to include ArcGIS JS API 4.19 in my Angular 8 project.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The project was created by command "&lt;STRONG&gt;ng new esri-js-webmap&lt;/STRONG&gt;" and it installed "arcgis/core" only by command "&lt;STRONG&gt;npm install @arcgis/core&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp; After compile success, I got the console error "&lt;STRONG&gt;Uncaught ReferenceError: e is not defined&lt;/STRONG&gt;" in the default site "localhost:4200".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeoDeng_0-1620701835214.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13012i4E499944C0D9451C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeoDeng_0-1620701835214.png" alt="LeoDeng_0-1620701835214.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It happens when "&lt;STRONG&gt;import EsriMap from "@arcgis/core/Map";&lt;/STRONG&gt;" in&amp;nbsp;src\app\esri-map\esri-map.component.ts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the&amp;nbsp;package.json&amp;nbsp;dependencies:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  "dependencies": {
    "@angular/animations": "~8.0.0",
    "@angular/common": "~8.0.0",
    "@angular/compiler": "~8.0.0",
    "@angular/core": "~8.0.0",
    "@angular/forms": "~8.0.0",
    "@angular/platform-browser": "~8.0.0",
    "@angular/platform-browser-dynamic": "~8.0.0",
    "@angular/router": "~8.0.0",
    "@arcgis/core": "^4.19.3",
    "rxjs": "~6.4.0",
    "tslib": "^1.9.0",
    "zone.js": "~0.9.1"
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the&amp;nbsp;tsconfig.json:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "compileOnSave": false,
  "compilerOptions": {
    "declaration": true,
    "module": "commonjs",
    "moduleResolution": "node",
    "noEmitOnError": true,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "noFallthroughCasesInSwitch": true,
    "outDir": "./dist",
    "rootDir": "./",
    "skipLibCheck": true,
    "strict": true,
    "target": "ES2019",
    "lib": ["ES2019"],
    "baseUrl": "",
    "rootDirs": ["src","out"],
    "typeRoots": ["./node_modules/@types"],
    "types": ["node"],

    "incremental": true,
    "tsBuildInfoFile": "./buildFile",
    "diagnostics": true,
    "strictNullChecks": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
  },
  "angularCompilerOptions": { 
    "fullTemplateTypeCheck": true,
    "strictInjectionParameters": true
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bests,&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 07:20:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-19-3-angular-8-typescript/m-p/1056541#M73036</guid>
      <dc:creator>LeoDeng</dc:creator>
      <dc:date>2021-05-11T07:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: @arcgis/core 4.19.3 + Angular 8 + TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-19-3-angular-8-typescript/m-p/1056569#M73038</link>
      <description>&lt;P&gt;After checking the &lt;A href="https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli" target="_self"&gt;document&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;, I upgrade Angular to &lt;STRONG&gt;11.2.13&lt;/STRONG&gt;&amp;nbsp;and everything works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the dependencies and tsconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  "dependencies": {
    "@angular/animations": "~11.2.13",
    "@angular/common": "~11.2.13",
    "@angular/compiler": "~11.2.13",
    "@angular/core": "~11.2.13",
    "@angular/forms": "~11.2.13",
    "@angular/platform-browser": "~11.2.13",
    "@angular/platform-browser-dynamic": "~11.2.13",
    "@angular/router": "~11.2.13",
    "@arcgis/core": "^4.19.3",
    "rxjs": "~6.6.0",
    "tslib": "^2.0.0",
    "zone.js": "~0.11.3"
  }


/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
  "compileOnSave": false,
  "compilerOptions": {

    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "forceConsistentCasingInFileNames": true,
    "strict": false,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "importHelpers": true,
    "target": "es2015",
    "module": "es2020",
    "lib": [
      "es2018",
      "dom"
    ]
  },
  "angularCompilerOptions": {
    "enableI18nLegacyMessageIdFormat": false,
    "strictInjectionParameters": true,
    "strictInputAccessModifiers": true,
    "strictTemplates": true
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry for the confusion.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 07:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-19-3-angular-8-typescript/m-p/1056569#M73038</guid>
      <dc:creator>LeoDeng</dc:creator>
      <dc:date>2021-05-11T07:19:15Z</dc:date>
    </item>
  </channel>
</rss>

