Select to view content in your preferred language

Cannot find [HOSTNAME_AND_PATH_TO_JSAPI] with JS API 4.30?

320
1
11-28-2024 09:39 PM
Yogesh_Chavan
Frequent Contributor

Hello all,

I am trying to host and manually modify the JS API 4.30 build in an offline environment on a windows server 2022 machine.

The steps mentioned here in the post shared below is helpful, but I am stuck at the manual modification of build step, where it says:

Yogesh_Chavan_0-1732858606417.png

https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-hosted-locally-arcgis-js-a...

This path variable could not be found in JS API 4.30 init.js file.

Yogesh_Chavan_1-1732858659887.png

Is there anything we are missing? Or is there any update with the steps for doing this with 4.30?

Thank you for any help on this!!

0 Kudos
1 Reply
JoelBennett
MVP Regular Contributor

That step is no longer necessary because Dojo was removed beginning with version 4.20.  The download package comes with an install.html file that contains the steps necessary for setting the SDK up on your web server.

0 Kudos