<?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: Cannot find module 'dojo/i18n!.. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208993#M19384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you haven't had a response yet.&lt;/P&gt;&lt;P&gt;Add the files in the tsconfig.json. It fixed my issue. My application-base-js is in a custom folder at the moment due to a code base issue with npm&lt;/P&gt;&lt;P&gt;"include": [&lt;BR /&gt; "./src/**/*"&lt;BR /&gt; ],&lt;BR /&gt; "exclude": [&lt;BR /&gt; "./node_modules",&lt;BR /&gt; "./tsrules"&lt;BR /&gt; ],&lt;BR /&gt; "files": [&lt;BR /&gt; "./node_modules/@types/arcgis-js-api/index.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojo/1.11/loader.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojo/1.11/index.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojo/1.11/modules.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dijit/1.11/index.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dijit/1.11/modules.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojox/1.11/index.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojox/1.11/modules.d.ts",&lt;BR /&gt; "./src/libs/@esri/application-base-js/support/updates.d.ts",&lt;BR /&gt; "./src/libs/@esri/application-base-js/support/updates.d.ts",&lt;BR /&gt; "./src/libs/@esri/application-base-js/index.d.ts",&lt;BR /&gt; "./src/libs/@esri/application-base-js/interfaces.d.ts"&lt;BR /&gt; ]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2019 07:18:58 GMT</pubDate>
    <dc:creator>JoyMiles</dc:creator>
    <dc:date>2019-08-16T07:18:58Z</dc:date>
    <item>
      <title>Cannot find module 'dojo/i18n!..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208990#M19381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to install (IIS Local - Windows 10) the Widget code of&amp;nbsp; this DevSummit 2007:&lt;/P&gt;&lt;H1&gt;Customizing the ArcGIS API for JavaScript Widgets&lt;/H1&gt;&lt;H3&gt;Alan Sangma –&amp;nbsp;&lt;A href="https://twitter.com/alansangma"&gt;@alansangma&lt;/A&gt;&lt;/H3&gt;&lt;H3&gt;Matt Driscoll –&amp;nbsp;&lt;A href="https://twitter.com/driskull"&gt;@driskull&lt;/A&gt;&lt;/H3&gt;&lt;H3&gt;JC Franco –&amp;nbsp;&lt;A href="https://twitter.com/arfncode"&gt;@arfncode&lt;/A&gt;&lt;/H3&gt;&lt;TABLE height="18" width="750"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 742px;"&gt;&lt;P&gt;&lt;A href="https://jcfranco.github.io/dev-summit-2017-customizing-widgets/slides/#/"&gt;https://jcfranco.github.io/dev-summit-2017-customizing-widgets/slides/#/&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE width="92"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="92"&gt;&lt;A href="https://youtu.be/UK5Hnjl9keA"&gt;https://youtu.be/UK5Hnjl9keA&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE width="92"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="92"&gt;&lt;A href="http://proceedings.esri.com/library/userconf/devsummit17/papers/dev_int_81.pdf"&gt;http://proceedings.esri.com/library/userconf/devsummit17/papers/dev_int_81.pdf&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is not possible to use (compile or run) the Compass Widget, because I have this error in my Visual Studio Code editor:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;EM&gt;Cannot find module&amp;nbsp;'dojo/i18n!esri/widgets/Compass/nls/Compass'.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;[ts] No se encuentra el módulo 'dojo/i18n!esri/widgets/Compass/nls/Compass'.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the steps provided:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/jcfranco/dev-summit-2017-customizing-widgets/blob/master/demo-steps/compass.md" title="https://github.com/jcfranco/dev-summit-2017-customizing-widgets/blob/master/demo-steps/compass.md"&gt;dev-summit-2017-customizing-widgets/compass.md at master · jcfranco/dev-summit-2017-customizing-widgets · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change the paths, but I think there is a problem with the Typings of dojo. I ran the&amp;nbsp;previous steps to configure the Widget Folder:&lt;/P&gt;&lt;P&gt;I created the package.json:&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;npm init --yes&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I installed Dojo Typings:&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;npm install dojo-typings --save-dev&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I installed typings for JASAPI ArcGis:&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;npm install --save @types/arcgis-js-api&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I created the config.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the image, I tried to install i18n and its typing .. but nothing, the same problem!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="i18n load error in the Compass Widget code" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/384746_errorCompassWidget.png" style="width: 700px; height: 497px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;How can I fix the access to dojo/i18n module?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Alexys H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 20:42:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208990#M19381</guid>
      <dc:creator>Alexys_HerleymRodriguez_Avell1</dc:creator>
      <dc:date>2017-11-22T20:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find module 'dojo/i18n!..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208991#M19382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 08:09:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208991#M19382</guid>
      <dc:creator>JiriStrnad</dc:creator>
      <dc:date>2018-07-24T08:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find module 'dojo/i18n!..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208992#M19383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I, too, have this issue.&amp;nbsp; The weird thing is that the type script will transpile into workable javascript artifacts, but this causes build failures due to the type script compiling errors.&amp;nbsp; I added the typings and api through npm as per the instructions.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;ts.config&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "compilerOptions": {&lt;BR /&gt; "module": "amd",&lt;BR /&gt; "noImplicitAny": true,&lt;BR /&gt; "sourceMap": true,&lt;BR /&gt; "jsx": "react",&lt;BR /&gt; "jsxFactory": "tsx",&lt;BR /&gt; "target": "es5",&lt;BR /&gt; "experimentalDecorators": true,&lt;BR /&gt; "preserveConstEnums": true,&lt;BR /&gt; "suppressImplicitAnyIndexErrors": true&lt;BR /&gt; },&lt;BR /&gt; "include": [&lt;BR /&gt; "./scripts/esri-widgets/*"&lt;BR /&gt; ],&lt;BR /&gt; "exclude": [&lt;BR /&gt; "node_modules",&lt;BR /&gt; "wwwroot"&lt;BR /&gt; ]&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;typescript compile output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/454676_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 21:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208992#M19383</guid>
      <dc:creator>JustinMartinek</dc:creator>
      <dc:date>2019-07-29T21:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find module 'dojo/i18n!..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208993#M19384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you haven't had a response yet.&lt;/P&gt;&lt;P&gt;Add the files in the tsconfig.json. It fixed my issue. My application-base-js is in a custom folder at the moment due to a code base issue with npm&lt;/P&gt;&lt;P&gt;"include": [&lt;BR /&gt; "./src/**/*"&lt;BR /&gt; ],&lt;BR /&gt; "exclude": [&lt;BR /&gt; "./node_modules",&lt;BR /&gt; "./tsrules"&lt;BR /&gt; ],&lt;BR /&gt; "files": [&lt;BR /&gt; "./node_modules/@types/arcgis-js-api/index.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojo/1.11/loader.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojo/1.11/index.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojo/1.11/modules.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dijit/1.11/index.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dijit/1.11/modules.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojox/1.11/index.d.ts",&lt;BR /&gt; "./node_modules/dojo-typings/dojox/1.11/modules.d.ts",&lt;BR /&gt; "./src/libs/@esri/application-base-js/support/updates.d.ts",&lt;BR /&gt; "./src/libs/@esri/application-base-js/support/updates.d.ts",&lt;BR /&gt; "./src/libs/@esri/application-base-js/index.d.ts",&lt;BR /&gt; "./src/libs/@esri/application-base-js/interfaces.d.ts"&lt;BR /&gt; ]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2019 07:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-find-module-dojo-i18n/m-p/208993#M19384</guid>
      <dc:creator>JoyMiles</dc:creator>
      <dc:date>2019-08-16T07:18:58Z</dc:date>
    </item>
  </channel>
</rss>

