Error code: 1020
On first usage of this package it shows me an error
C:\Users\820\Desktop\code\nodejs\hltv-online\node_modules\externalip\index.js:12 var ip = res.text.match(/\d+.\d+.\d+.\d+/)[0]; ^
TypeError: Cannot read property '0' of null at C:\Users\820\Desktop\code\nodejs\hltv-online\node_modules\externalip\index.js:12:52 at Request.callback (C:\Users\820\Desktop\code\nodejs\hltv-online\node_modules\superagent\lib\node\index.js:729:30) at Request.
(C:\Users\820\Desktop\code\nodejs\hltv-online\node_modules\superagent\lib\node\index.js:135:10) at Request.emit (events.js:198:13) at Stream. (C:\Users\820\Desktop\code\nodejs\hltv-online\node_modules\superagent\lib\node\index.js:906:12) at Stream.emit (events.js:203:15) at Unzip. (C:\Users\820\Desktop\code\nodejs\hltv-online\node_modules\superagent\lib\node\utils.js:124:12) at Unzip.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1129:12) at process._tickCallback (internal/process/next_tick.js:63:19)
Also tried to console.log response and it shows me this.
error code: 1020