Skip to content
Ayush C edited this page May 28, 2023 · 6 revisions

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
Clone this wiki locally