[Bug]: Returning [] empty array on macOS Monterey
See original GitHub issueExpected behavior
When scanning networks either by node API using wifi.scan
or with the CLI using npx node-wifi-cli --scan
Should return list of scanned networks.
Current behavior
When scanning networks either by node API using wifi.scan
or with the CLI using npx node-wifi-cli --scan
, it returns []
an empty array. No errors, just an empty list.
Which are the affected features
- node API
- CLI
Which is your operating system?
MacOS
Environment
- Macbook Pro 16" Intel Big Sur: working
- Macbook Pro 16" Intel Monterey: empty list
- iMac Intel Monterey: empty list
Version of node-wifi
2.0.15
Steps to Reproduce
Scan networks by either CLI or node-wifi api and log the result.
Solutions
I’m wondering if there are any new permissions to manage the wifi hardware on Monterey. There were no dialogs shown whatsoever when trying to use the CLI or the node app we are developing that relies on this lib.
Also tried using debug: true
as a parameter for the wifi.init
but couldn’t see any additional info when logging the resulting networks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (11 by maintainers)
Top Results From Across the Web
window.speechSynthesis.getVoices() returns empty array on ...
speechSynthesis.getVoices() returns an empty array ([]) on my browser (macOS 12.3.1, Safari 15.4). On the previous versions (Safari ...
Read more >Serious bugs remaining in Monterey: a working list
This article details serious bugs remaining in macOS 12.5 Monterey. If Apple is true to the pattern set in Big Sur, and in...
Read more >S3 DeleteObjects sdk calls with empty Delete.Objects ... - GitHub
Describe the bug Trying to delete objects using code like this: _, err = svc.DeleteObjects(&s3.DeleteObjectsInput{ Bucket: &bucketName ...
Read more >CodeSign issue | Apple Developer Forums
We have a persistent CodeSign issue with the following error shown in the log when running an iOS build on a Jenkins node...
Read more >Telnet in Monterey - macos - Apple StackExchange
This assumes that launchctl getenv PATH returns an empty string and that telnet is in the shells PATH. Explanation. Applications can register ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes it helps a lot. Besides using xml is safer than parsing the command output. It was in the roadmap but I guess we just have to reprioritize this feature. I will work on it.
node-wifi
andnode-wifi-cli
fixes have been released. I hope it will work for you.