node-wifi icon indicating copy to clipboard operation
node-wifi copied to clipboard

[Bug]: UNRECOGNIZED OS error on Raspberry Pi OS Lite

Open michaelaflores opened this issue 1 year ago • 0 comments

Expected behavior

When running this package in a Node app running on Raspberry Pi OS Lite (64-bit) on a Raspberry Pi 4, I expect this to be a recognized OS.

Current behavior

When running this package in a Node app running on Raspberry Pi OS Lite (64-bit) on a Raspberry Pi 4, it throws the Unrecognized OS error.

Which are the affected features

  • [X] node API
  • [ ] CLI

Which is your operating system?

Linux

Environment

  • Raspberry Pi 4
  • Raspberry Pi OS Lite (64-bit)

Version of node-wifi

2.0.16

Steps to Reproduce

  1. Install node-wifi package
  2. Run wifi.init({ iface: "wlan0", });
  3. Observe error

Solutions

Perhaps this OS has some different characteristic that isn't accounted for if it came out after the last release of this package?

michaelaflores avatar Jun 12 '24 15:06 michaelaflores