I already wrote:
After a full backup, rename of the node_modules folder and
npm install
without the tasmota node, I get
added 450 packages from 410 contributors and audited 450 packages in 209.309s
Right after installing the tasmota node the same error like before:
17 May 09:45:59 - [info] Installiertes Modul: node-red-contrib-tasmota
17 May 09:45:59 - [info] Hinzugefügte Node-Typen:
17 May 09:45:59 - [info] - node-red-contrib-tasmota:Tasmota Switch : SyntaxError: Invalid or unexpected token (line:3)
17 May 09:45:59 - [info] - node-red-contrib-tasmota:Tasmota Sensor : SyntaxError: Invalid or unexpected token (line:3)
17 May 09:45:59 - [info] - node-red-contrib-tasmota:Tasmota Light : SyntaxError: Invalid or unexpected token (line:3)
So I renamed the node_modules folder again (with tasmota node installed) and run npm install again:
added 493 packages from 437 contributors and audited 493 packages in 181.152s
In the startlog I can see:
17 May 09:52:35 - [info] Node-RED Version: v1.0.6
17 May 09:52:35 - [info] Node.js Version: v12.16.2
17 May 09:52:35 - [info] Linux 5.4.35-v7+ arm LE
17 May 09:52:36 - [info] Paletten-Nodes werden geladen
17 May 09:52:46 - [info] Dashboard version 2.22.1 started at /ui
17 May 09:52:47 - [warn] ------------------------------------------------------
17 May 09:52:47 - [warn] [node-red-contrib-tasmota/Tasmota switch] SyntaxError: Invalid or unexpected token
17 May 09:52:47 - [warn] [node-red-contrib-tasmota/Tasmota sensor] SyntaxError: Invalid or unexpected token
17 May 09:52:47 - [warn] [node-red-contrib-tasmota/Tasmota light] SyntaxError: Invalid or unexpected token
But since zigbee2mqtt gets the same error when installing or running:
17 May 09:54:28 - [info] Modul wird installiert: node-red-contrib-zigbee2mqtt, Version: 0.4.1
17 May 09:54:51 - [info] Installiertes Modul: node-red-contrib-zigbee2mqtt
17 May 09:54:51 - [info] Hinzugefügte Node-Typen:
17 May 09:54:51 - [info] - node-red-contrib-zigbee2mqtt:zigbee2mqtt-in : SyntaxError: Invalid or unexpected token (line:3)
17 May 09:54:51 - [info] - node-red-contrib-zigbee2mqtt:zigbee2mqtt-get : SyntaxError: Invalid or unexpected token (line:2)
17 May 09:54:51 - [info] - node-red-contrib-zigbee2mqtt:zigbee2mqtt-out : SyntaxError: Invalid or unexpected token (line:2)
17 May 09:54:51 - [info] - node-red-contrib-zigbee2mqtt:zigbee2mqtt-bridge : SyntaxError: Invalid or unexpected token (line:2)
17 May 09:54:51 - [info] - node-red-contrib-zigbee2mqtt:zigbee2mqtt-server : SyntaxError: Invalid or unexpected token (line:2)
...I will dive into the mqtt node, which both seems to use. Stay tuned or give an advice