Select to view content in your preferred language

Issue with ArcGIS JS API 5.0 zip download

343
2
04-28-2026 03:27 PM
GILBERTNG1
Occasional Contributor

On the ESRI-hosted API (https://js.arcgis.com/5.0/), index.js works fine and a we are able to create a simple map that contains the topo-vector basemap.  However, when we download the JS API 5.0 zip file and install it on a development app server, the javascript\5.0\index.js file emits a six http 404 errors against content that is not included in the zip file download (as highlighted in orange): 

import "../calcite-components/5.0.2/index.js";
import "./core.js";
import "./ai-components/index.js";
import "./charts-components/index.js";
import "./coding-components/index.js";
import "./common-components/index.js";
import "./map-components/index.js";

Can the zip file download be fixed to resolve these issues? We typically install the JS API on local app servers to be consumed by multiple custom mapping applications. Also, here is how we are referencing the API on a test map page header: 

<link rel="stylesheet" href="<APP SERVER URL>/arcgis_js_api/library/5.0/esri/themes/light/main.css" />

<script type="module" src="<APP SERVER URL>/arcgis_js_api/library/5.0/index.js"></script>

2 Replies
Noah-Sager
Esri Regular Contributor

Hi @GILBERTNG1, thanks for posting your question here. While we look at our Downloads story, you should be able to download and install the components via their npm packages. It's described here:

https://developers.arcgis.com/javascript/latest/downloads/#components

 

0 Kudos
GILBERTNG1
Occasional Contributor

As a follow-up, is your team looking into the Downloads story for the upcoming 5.1 release? Also, I see the 4.33 .tgz file link on top of this page:

https://developers.arcgis.com/javascript/latest/downloads/#components 

Can that link be updated to 5.x? 

0 Kudos