DylanPiercey / local-devices

🔮 Find devices connected to the current local network.
MIT License
139 stars 27 forks source link

Getting "Cannot read property headersSent of undefined" when using find for specific ip #57

Closed robbelroot closed 2 years ago

robbelroot commented 2 years ago

Heres my example code:

(async function () {
  var device
  try {
    device = await find('192.168.2.161')
    console.log('device found', device)
  } catch (err) {
    console.log('ERR FINDING DEVICE', err)
  }
})

EDIT: I feel so bad, it was another thingy causing that err.. You can close/delete this - tried as well, but can't.