Skip to main content

4.14.4 template upgrade error - moment.js

Comments

2 comments

  • Stefan Schweigert

    Hi Andrew,

     

    Our default viewer configuration loads the moment-timezone-with-data.js file. I'm not sure what would be requesting the moment.js file as that is not used by Essentials.

     

    If there is custom configuration that is requesting this file, an option would be to download the latest Esri JSAPI 3.x version and deploy that library in the location requested.

     

    Thanks, Stefan

    0
  • Owen Parfrey

    Hi Stephan,

    We have just encountered this same issue with Essentials 4.14.4 after configuring the viewer to work with the offline version of the Esri JS API that is shipped with Essentials.

    When the viewer loads it tries to load moment.js but fails as it is not present in the local copy of the Esri js file (/3.38/moment). We had to grab a copy of moment.js from the online API and add it to the local /3.38/moment folder to fix the issue.

    So it seem that Essentials requires this file to be included in the local API package.

    Thanks

    Owen

    1

Please sign in to leave a comment.