Open mowi22 opened 5 years ago
Hi,
Most of the time, management of wifi is quite hard inside virtual machine or docker. Are you sute your container has access to a wifi card ?
I got "spawn nmcli ENOENT" on an raspberry, on osx working fine
I got the same issue as @Tobias-Keller
@abertranb got it working...follow this -> https://www.raspberrypi.org/forums/viewtopic.php?t=179576
@Tobias-Keller what post from the link are you refering to? I also got this problem on raspberry.
wifi.init thows error UNRECOGNIZED OS error running on raspbarry pi inside of a multi-container docker-compose file running node 10 in an electron/ react application. Im building the image via balenaOS
Expected Behavior
Expected it to recognize linux and use linux js files
Current Behavior
just throws an error when on the pi. Works fine on a Mac within Electron
Affected features
Possible Solution
a way to specify the linux os via a param
Steps to Reproduce (for bugs)
Context
I'm trying to display networks to a user via a react application. Basically, show user current wifi router and allow them to switch via the app.
Your Environment