question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CoordinateConversion widget - global is not defined error

See original GitHub issue

Using ArcGISPlugin and trying to utilize CoordinateConversion widget in our application fails due to error: ReferenceError: global is not defined. Our webpack config has the required node settings:

node: {
  process:false,
  global: false,
  fs: 'empty'
}

Environment

  • Version used: esri.4.14/arcgis/webpack-plugin 4.14.0/typescript 3.7.4

Any ideas what would be potential fixes?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vaidotaspcommented, Mar 16, 2020

Thank you all, @odoe , @dasa . This seems to solve my issue with building app and using ESRI’s coordinate widget. 👍

1reaction
dasacommented, Mar 6, 2020

Try node: false, instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CoordinateConversion | ArcGIS Maps SDK for JavaScript 4.25
The CoordinateConversion widget provides a way to display user cursor position either as map coordinates or as any of several popular coordinate notations....
Read more >
global is not defined webpack | The Search Engine You Control
Using ArcGISPlugin and trying to utilize CoordinateConversion widget in our application fails due to error: ReferenceError: global is not defined .
Read more >
Military Tools for ArcGIS: Coordinate Conversion - Esri Videos
You can input coordinates, quickly converting them between several common formats such as Universal Transverse Mercator (UTM) and Military Grid Reference ...
Read more >
Solved: CoordinateConversion Widget - Esri Community
Solved: Hi Can I customize the Coordinate Conversion Widget to display only BASEMAP & XY Coordinates and remove the rest from the default ......
Read more >
Coordinate Conversions - L3HarrisGeospatial.com
This coordinate conversion functionality is built into object graphics through the ... visualizations so there is no need to set up a transformation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found