Closed donmccurdy closed 3 years ago
Given a script that makes asynchronous requests...
var image = ee.Image(1); console.log('evaluating...'); image.evaluate((info) => { console.log('evaluated: ', info); });
... ee-runner prints evaluating... and then silently exits without resolving the open requests. Since synchronous requests are not well supported outside the Code Editor (see https://github.com/google/earthengine-api/issues/151, and https://github.com/driverdan/node-XMLHttpRequest/issues/176) I've been encouraging users to write async requests instead, but then seeing this error.
evaluating...
Fixed, make sure the latest version is used:
npm install --save ee-runner@0.0.36
Given a script that makes asynchronous requests...
... ee-runner prints
evaluating...
and then silently exits without resolving the open requests. Since synchronous requests are not well supported outside the Code Editor (see https://github.com/google/earthengine-api/issues/151, and https://github.com/driverdan/node-XMLHttpRequest/issues/176) I've been encouraging users to write async requests instead, but then seeing this error.