laptop and a wrench

Bug

The geometryEngine and geometryEngineAsync libraries are not available when used in a JavaScript app compiled in Webpack with ECMAScript Modules (ESM).

Last Published: April 29, 2021 ArcGIS API for JavaScript
Bug ID Number BUG-000138556
SubmittedMarch 29, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.18
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

There are some classes which do not have default exports, this is one of them. Try this instead: import * as geometryEngine from '@arcgis/core/geometry/geometryEngine';

Steps to Reproduce

Bug ID: BUG-000138556

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options