raweee / node-red-contrib-whatsapp-link

Simple Node-Red node to link Whatsapp
https://discord.gg/VApVeGuF
30 stars 8 forks source link

WA Admin (web), crash fresh install NodeRed #77

Open bosyying opened 2 months ago

bosyying commented 2 months ago

Cannot register on Lite type.

then i change to Web type. Then it crash the whole node red.

24 Aug 08:40:37 - [info] [whatsappLink:Web] Status : Initializing Whatsapp.. 24 Aug 08:40:37 - [info] Started flows 24 Aug 08:40:37 - [red] Uncaught Exception: 24 Aug 08:40:37 - [error] Error: Failed to launch the browser process! spawn /data/node_modules/puppeteer-core/.local-chromium/linux-1045629/chrome-linux/chrome ENOENT TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:299:20) at ChildProcess.<anonymous> (/data/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:293:24) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:292:12) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

image

laflaf3d commented 1 month ago

Hi, after installing the node and configure it, my node-red fall into perptual crash:

/home/pi/.node-red/node_modules/puppeteer-core/.local-chromium/linux-1045629/chrome-linux/chrome: 1: Syntax error: Unterminated quoted string
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
    at onClose (/home/pi/.node-red/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:299:20)
    at Interface.<anonymous> (/home/pi/.node-red/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:287:24)
    at Interface.emit (node:events:531:35)
    at Interface.close (node:internal/readline/interface:528:10)
    at Socket.onend (node:internal/readline/interface:254:10)
    at Socket.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Consumed 21.971s CPU time.
xterm-256colornodered.service: Scheduled restart job, restart counter is at 31.
Stopped nodered.service - Node-RED graphical event wiring tool.
nodered.service: Consumed 21.971s CPU time.
Started nodered.service - Node-RED graphical event wiring tool.
2 Oct 17:33:46 - [info]
Welcome to Node-RED
===================
2 Oct 17:33:46 - [info] Node-RED version: v4.0.3
2 Oct 17:33:46 - [info] Node.js  version: v20.17.0
2 Oct 17:33:46 - [info] Linux 6.6.31+rpt-rpi-v7 arm LE
2 Oct 17:33:48 - [info] Loading palette nodes
2 Oct 17:33:53 - [info] Dashboard version 3.6.5 started at /ui
2 Oct 17:33:56 - [info] Settings file  : /home/pi/.node-red/settings.js
2 Oct 17:33:56 - [info] Context store  : 'default' [module=memory]
2 Oct 17:33:56 - [info] User directory : /home/pi/.node-red
2 Oct 17:33:56 - [warn] Projects disabled : editorTheme.projects.enabled=false
2 Oct 17:33:56 - [info] Flows file     : /home/pi/.node-red/flows.json
2 Oct 17:33:56 - [info] Server now running at http://127.0.0.1:1880/
2 Oct 17:33:56 - [info] Starting flows
sm4l commented 4 weeks ago

i got the same error