<?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: Typescript does not resolve esri/Map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121191#M11304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which project type in vs2017 are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For command line , you can use that extension from vs marketplace to get more detail error.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://marketplace.visualstudio.com/items?itemName=MadsKristensen.OpenCommandLine" title="https://marketplace.visualstudio.com/items?itemName=MadsKristensen.OpenCommandLine"&gt;Open Command Line - Visual Studio Marketplace&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;And then you can&amp;nbsp;use the Keyboard Shortcut ALT+Space instead of the context menu to open the command prompt.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;You can then run your npm command: and see the error detail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Aug 2019 03:19:58 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-08-26T03:19:58Z</dc:date>
    <item>
      <title>Typescript does not resolve esri/Map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121189#M11302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Typescript code that tries to use ESRI in a jQuery environment.&amp;nbsp; I have installed arcgis-js-api with NPM, and I have tried a number of things from various pages located here at ESRI concerning ArcGIS, Typescript, jQuery, and Visual Studio.&amp;nbsp; Nothing has borne fruit.&amp;nbsp; After stripping down the code as much as possible, I find it's the import that doesn't work;&amp;nbsp; tsc tries to resolve the module at that line and it can't do so, and it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was originally a very complicated thing in Visual Studio 2017.&amp;nbsp; The build is set up to use a tsconfig.json, which VS recognizes and employs.&amp;nbsp; When things didn't work I figured out what tsc VS was using (they put in four for some reason) and how to invoke it in a command window to see the errors VS was hiding from me.&amp;nbsp; Since then I've been attempting to build this cli only, to remove VS from the picture.&amp;nbsp; I mention VS mainly because 'intellisense' seems to know what everything is.&amp;nbsp; If I add a line to create a Map object, it doesn't show anything is wrong.&amp;nbsp; Most likely that's not relevant, but it is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've spent considerable time trying various things from module related searches on the 'net, but so far I've not hit upon the magic that makes it work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 12:19:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121189#M11302</guid>
      <dc:creator>DavidGilmore</dc:creator>
      <dc:date>2019-07-19T12:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Typescript does not resolve esri/Map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121190#M11303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you install the JS API typings as well as the API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;npm install --save @types/arcgis-js-api&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/typescript-setup/" title="https://developers.arcgis.com/javascript/latest/guide/typescript-setup/"&gt;TypeScript - Setting up your development environment | ArcGIS API for JavaScript 4.12&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2019 20:11:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121190#M11303</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-08-21T20:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Typescript does not resolve esri/Map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121191#M11304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which project type in vs2017 are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For command line , you can use that extension from vs marketplace to get more detail error.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://marketplace.visualstudio.com/items?itemName=MadsKristensen.OpenCommandLine" title="https://marketplace.visualstudio.com/items?itemName=MadsKristensen.OpenCommandLine"&gt;Open Command Line - Visual Studio Marketplace&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;And then you can&amp;nbsp;use the Keyboard Shortcut ALT+Space instead of the context menu to open the command prompt.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;You can then run your npm command: and see the error detail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2019 03:19:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121191#M11304</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-26T03:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Typescript does not resolve esri/Map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121192#M11305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late response.&amp;nbsp; I got pulled off this project for a while.&amp;nbsp; Yes I did install the typings as well, and I see them on the hard drive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121192#M11305</guid>
      <dc:creator>DavidGilmore</dc:creator>
      <dc:date>2019-10-10T15:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Typescript does not resolve esri/Map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121193#M11306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some time I got all the compiler errors to go away, but only after I stopped using the import statement in my code.&amp;nbsp; It still doesn't do things properly ... I have to use __esri.map for instance instead of just Map.&amp;nbsp; But it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:24:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typescript-does-not-resolve-esri-map/m-p/121193#M11306</guid>
      <dc:creator>DavidGilmore</dc:creator>
      <dc:date>2019-10-10T15:24:40Z</dc:date>
    </item>
  </channel>
</rss>

