我正在为我的一个项目使用node-geocoder。它工作正常,但在某些情况下,它会随机抛出以下错误:
Error: Status is ZERO_RESULTS.
at /gps/node_modules/node-geocoder/lib/geocoder/googlegeocoder.js:292:25
at IncomingMessage.<anonymous> (/gps/node_modules/node-geocoder/lib/httpadapter/httpadapter.js:62:9)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)
最初我认为这是我通过的坐标问题但不幸的是,事实并非如此。如果我再次传递相同的坐标,它会给我正确的结果。