function Start() { const exec = require('child_process').exec; exec("node -v", (error, stdout, stderr) => { if (error) { alert(`exec error: ${error}`); return; } alert(`stdout: ${stdout}`); alert(`stderr: ${stderr}`); });} As a result, the command "node" was not found. :( I do it all in nw.js (NodeWebkit)