I have installed nbrowser in the nodered addon using the “manage palette” menu, there were no errors that I noticed during installation, however when I inject a url into nbrowser I get the following error:
7 May 03:56:54 - [red] Uncaught Exception:
7 May 03:56:54 - [error] Error: spawn /config/node-red/node_modules/electron/dist/electron ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[03:56:54] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
Any suggestions on the cause / fix for this ? - It looks like it is unable to startup electron ?
Note: You can install nbrowser using Node-RED’s
Manage Palette → Install option; however, the current version requires that you restart the Node-RED server.
I also tried removing nodered and it’s folder, re-installing and then installing nbrowser from the command line:npm install node-red-contrib-nbrowser and that succeeded with no errors.
Did you manage to solve the issue? I have the same problem. I need to login to Ziggo and that fails with the standard http request node. Tried nbrowser and also puppeteer.new but that also fails in need for chrome.