The secondary throws the errorTypeError: Cannot read property 'replace' of undefined at /home/pi/*/node_modules/node-wifi/src/linux-scan.js:23:29.
Line which caused the error: ssid: fields[1].replace(/\&\&/g, ':'),.
Output of command nmcli -v:
nmcli tool, version 1.6.2
Output of command nmcli (I am only showing headers here):
eth0: connected to Wired connection 1
wlan0: disconnected
lo: unmanged
Implementation code:
The secondary throws the error
TypeError: Cannot read property 'replace' of undefined at /home/pi/*/node_modules/node-wifi/src/linux-scan.js:23:29
. Line which caused the error:ssid: fields[1].replace(/\&\&/g, ':'),
.Output of command
nmcli -v
:Output of command
nmcli
(I am only showing headers here):