FAQ - nwjs/nw.js GitHub Wiki
How to get the location of nw.exe (or application path)?
See https://github.com/rogerwang/node-webkit/issues/1197
Windows flags NW.js as trojan. I am unable to run my application.
This is a false positive. Please submit the file to Windows to report it as such:
https://www.microsoft.com/en-us/wdsi/filesubmission
Application window does not launch or is unstable on Linux
There can be many reasons for this.
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
If you get this error, enable the --disable-gpu
flag:
Via package.json
:
{
"chromium-args": "--disable-gpu"
}
Via command line:
/path/to/nw . --disable-gpu
Opening in existing browser session.
message on Linux
GUI does not launch with NW.js based apps are singletons. This means that successive launches will terminate immediately.
To kill the existing NW.js process:
ps aux
to find thepid
kill XXXX
where XXXX is thepid
.
Refs: https://github.com/streamlink/streamlink-twitch-gui/issues/695#issuecomment-565476126
NW.js does not launch on MacOS.
On MacOS, unsigned binaries may not run. The quarantine flag will have to be cleared.
sudo xattr -r -d com.apple.quarantine /path/to/nwjs.app