diff --git a/www/ajax/discoverCameras.php b/www/ajax/discoverCameras.php index 012f7787..67fcbec8 100644 --- a/www/ajax/discoverCameras.php +++ b/www/ajax/discoverCameras.php @@ -175,7 +175,7 @@ public function postData() ); $tools = Array( - "node /usr/share/bluecherry/onvif/discovery_json/node-onvif.js", + "NODE_PATH=/usr/share/nodejs/onvif/node_modules node /usr/share/bluecherry/onvif/discovery_json/node-onvif.js", "/usr/share/bluecherry/onvif/discovery_json/onvif_tool", ); foreach ($tools as $tool) {