Hey
I got a strange behavior with node Red.
I installed version node Red v1.3.5 with Node JS 14.16 on 3 PCs.
On one PC I cant update function blocks!
I already testet the following: I closed node Red and then startet. Then I created a new flow (without projects=true). I added a inject and a debug and deployed. This worked fine.
As soon as I add a simple function block and add "msg.info=1;" to the function code, everytime I push "Deploy" the error is shown by the browser.
Here is the detailed log of node RED:
Set No TLS Erros (Self Signed Crt)
Start Node
16 Jun 15:25:42 - [info]
Welcome to Node-RED
===================
16 Jun 15:25:42 - [info] Node-RED version: v1.3.5
16 Jun 15:25:42 - [info] Node.js version: v14.16.0
16 Jun 15:25:42 - [info] Windows_NT 10.0.17763 x64 LE
16 Jun 15:25:43 - [info] Loading palette nodes
16 Jun 15:25:44 - [debug] Module: node-red-contrib-config 1.2.1 C:\NodeRed\node_modules\node-red-contrib-config
16 Jun 15:25:44 - [debug] Module: node-red-contrib-crypto-js 0.1.1 C:\NodeRed\node_modules\node-red-contrib-crypto-js
16 Jun 15:25:44 - [debug] Module: node-red-contrib-elasticsearch7 0.0.7 C:\NodeRed\node_modules\node-red-contrib-elasticsearch7
16 Jun 15:25:44 - [debug] Module: node-red-contrib-fs 1.4.1 C:\NodeRed\node_modules\node-red-contrib-fs
16 Jun 15:25:44 - [debug] Module: node-red-contrib-fs-ops 1.6.0 C:\NodeRed\node_modules\node-red-contrib-fs-ops
16 Jun 15:25:44 - [debug] Module: node-red-contrib-gc-trigger 0.0.1 C:\NodeRed\node_modules\node-red-contrib-gc-trigger
16 Jun 15:25:44 - [debug] Module: node-red-contrib-iiot-opcua 3.12.1 C:\NodeRed\node_modules\node-red-contrib-iiot-opcua
16 Jun 15:25:44 - [debug] Module: node-red-contrib-jsonpath 0.1.1 C:\NodeRed\node_modules\node-red-contrib-jsonpath
16 Jun 15:25:44 - [debug] Module: node-red-contrib-mqtt-broker 0.2.5 C:\NodeRed\node_modules\node-red-contrib-mqtt-broker
16 Jun 15:25:44 - [debug] Module: node-red-contrib-os 0.2.0 C:\NodeRed\node_modules\node-red-contrib-os
16 Jun 15:25:44 - [debug] Module: node-red-contrib-simple-gate 0.5.0 C:\NodeRed\node_modules\node-red-contrib-simple-gate
16 Jun 15:25:44 - [debug] Module: node-red-contrib-simple-message-queue 0.2.7 C:\NodeRed\node_modules\node-red-contrib-simple-message-queue
16 Jun 15:25:44 - [debug] Module: node-red-contrib-smb 1.2.0 C:\NodeRed\node_modules\node-red-contrib-smb
16 Jun 15:25:44 - [debug] Module: node-red-contrib-spreadsheet-in 0.6.0 C:\NodeRed\node_modules\node-red-contrib-spreadsheet-in
16 Jun 15:25:44 - [debug] Module: node-red-contrib-string 0.2.2 C:\NodeRed\node_modules\node-red-contrib-string
16 Jun 15:25:44 - [debug] Module: node-red-contrib-watchdirectory 1.0.14 C:\NodeRed\node_modules\node-red-contrib-watchdirectory
16 Jun 15:25:44 - [debug] Module: node-red-dashboard 2.29.1 C:\NodeRed\node_modules\node-red-dashboard
16 Jun 15:25:45 - [debug] Module: node-red-node-email 1.12.1 C:\NodeRed\node_modules\node-red-node-email
16 Jun 15:25:45 - [debug] Module: node-red-node-feedparser 0.1.16 C:\NodeRed\node_modules\node-red-node-feedparser
16 Jun 15:25:45 - [debug] Module: node-red-node-mysql 0.0.17 C:\NodeRed\node_modules\node-red-node-mysql
16 Jun 15:25:45 - [debug] Module: node-red-node-rbe 0.2.9 C:\NodeRed\node_modules\node-red-node-rbe
16 Jun 15:25:45 - [debug] Module: node-red-node-tail 0.3.1 C:\NodeRed\node_modules\node-red-node-tail
16 Jun 15:25:45 - [debug] Module: node-red-node-twitter 1.2.0 C:\NodeRed\node_modules\node-red-node-twitter
16 Jun 15:25:50 - [info] Dashboard version 2.29.1 started at /ui
16 Jun 15:25:50 - [info] Settings file : C:\NodeRED\node-red_home\settings.js
16 Jun 15:25:50 - [info] Context store : 'storeInFile' [module=localfilesystem]
16 Jun 15:25:50 - [info] Context store : 'memoryonly' [module=memory]
16 Jun 15:25:50 - [info] Context store : 'default' [module=memory]
16 Jun 15:25:50 - [info] User directory : C:\NodeRed\node-red_home
16 Jun 15:25:50 - [warn] Projects disabled : editorTheme.projects.enabled=false
16 Jun 15:25:50 - [info] Flows file : C:\NodeRed\node-red_home\flows_M010SX03121801B.json
16 Jun 15:25:50 - [info] Creating new flow file
16 Jun 15:25:50 - [debug] loaded flow revision: d751713988987e9331980363e24189ce
16 Jun 15:25:50 - [debug] red/runtime/nodes/credentials.load : no user key present
16 Jun 15:25:50 - [debug] red/runtime/nodes/credentials.load : using default key
16 Jun 15:25:50 - [debug] red/runtime/nodes/credentials.load : keyType=system
16 Jun 15:25:50 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
16 Jun 15:25:50 - [trace] runtime event: {"id":"runtime-state","retain":true}
16 Jun 15:25:50 - [trace] runtime event: {"id":"runtime-deploy","payload":{"revision":"d751713988987e9331980363e24189ce"},"retain":true}
16 Jun 15:25:50 - [info] Starting flows
16 Jun 15:25:50 - [debug] red/nodes/flows.start : starting flow : global
16 Jun 15:25:50 - [trace] [flow:global] start flow [global]
16 Jun 15:25:50 - [trace] runtime event: {"id":"runtime-state","retain":true}
16 Jun 15:25:50 - [info] Started flows
16 Jun 15:25:50 - [info] Server now running at https://127.0.0.1:1880/
16 Jun 15:26:08 - [audit] {"event":"auth.invalid-token","level":98,"timestamp":1623849968132}
16 Jun 15:26:11 - [trace] utils.writeFile - written content to C:\NodeRed\node-red_home\.sessions.json.$$$
16 Jun 15:26:11 - [trace] utils.writeFile - renamed C:\NodeRed\node-red_home\.sessions.json.$$$ to C:\NodeRed\node-red_home\.sessions.json
16 Jun 15:26:11 - [audit] {"event":"auth.login","username":"admin","client":"node-red-editor","scope":"*","level":98,"timestamp":1623849971408}
16 Jun 15:26:11 - [audit] {"event":"plugins.list.get","level":98,"user":{"username":"admin","permissions":"*"},"path":"/plugins","ip":"127.0.0.1","timestamp":1623849971663}
16 Jun 15:26:11 - [audit] {"event":"plugins.configs.get","level":98,"user":{"username":"admin","permissions":"*"},"path":"/plugins","ip":"127.0.0.1","timestamp":1623849971782}
16 Jun 15:26:11 - [audit] {"event":"nodes.list.get","level":98,"user":{"username":"admin","permissions":"*"},"path":"/nodes","ip":"127.0.0.1","timestamp":1623849971788}
16 Jun 15:26:11 - [audit] {"event":"nodes.icons.get","level":98,"user":{"username":"admin","permissions":"*"},"path":"/icons","ip":"127.0.0.1","timestamp":1623849971825}
16 Jun 15:26:11 - [audit] {"event":"nodes.configs.get","level":98,"user":{"username":"admin","permissions":"*"},"path":"/nodes","ip":"127.0.0.1","timestamp":1623849971835}
16 Jun 15:26:12 - [audit] {"event":"comms.open","level":98,"timestamp":1623849972267}
16 Jun 15:26:12 - [trace] comms.open ehZFs9VcNkv2zHsf/z6DZDUwpm4YL86zJuPelhVdgHE=
16 Jun 15:26:13 - [audit] {"event":"flows.get","level":98,"user":{"username":"admin","permissions":"*"},"path":"/flows","ip":"127.0.0.1","timestamp":1623849973206}
16 Jun 15:26:13 - [audit] {"event":"comms.auth","user":{"username":"admin","permissions":"*"},"level":98,"timestamp":1623849973745}
16 Jun 15:26:20 - [audit] {"event":"flows.set","type":"full","level":98,"user":{"username":"admin","permissions":"*"},"path":"/flows","ip":"127.0.0.1","timestamp":1623849980227}
16 Jun 15:26:20 - [trace] utils.writeFile - copied C:\NodeRed\node-red_home\flows_M010SX03121801B.json TO C:\NodeRed\node-red_home\.flows_M010SX03121801B.json.backup
16 Jun 15:26:20 - [trace] utils.writeFile - written content to C:\NodeRed\node-red_home\flows_M010SX03121801B.json.$$$
16 Jun 15:26:20 - [trace] utils.writeFile - renamed C:\NodeRed\node-red_home\flows_M010SX03121801B.json.$$$ to C:\NodeRed\node-red_home\flows_M010SX03121801B.json
16 Jun 15:26:20 - [debug] saved flow revision: 0a6409b0ab15fb1a3f36cb3405f8a78b
16 Jun 15:26:20 - [info] Flows werden gestoppt
16 Jun 15:26:20 - [debug] red/nodes/flows.stop : stopping flow : global
16 Jun 15:26:20 - [trace] [flow:global] stop flow
16 Jun 15:26:20 - [info] Flows sind gestoppt
16 Jun 15:26:20 - [info] Flows werden gestartet
16 Jun 15:26:20 - [debug] red/nodes/flows.start : starting flow : global
16 Jun 15:26:20 - [debug] red/nodes/flows.start : starting flow : 74e636d3.1fa3f8
16 Jun 15:26:20 - [trace] [flow:global] start flow [global]
16 Jun 15:26:20 - [trace] [flow:74e636d3.1fa3f8] start flow [74e636d3.1fa3f8]
16 Jun 15:26:20 - [trace] [flow:74e636d3.1fa3f8] ------------------|--------------|-----------------
16 Jun 15:26:20 - [trace] [flow:74e636d3.1fa3f8] id | type | alias
16 Jun 15:26:20 - [trace] [flow:74e636d3.1fa3f8] ------------------|--------------|-----------------
16 Jun 15:26:20 - [trace] [flow:74e636d3.1fa3f8] 8afb576.7c5a5a8 | inject |
16 Jun 15:26:20 - [trace] [flow:74e636d3.1fa3f8] dfd5ab47.5857d8 | debug |
16 Jun 15:26:20 - [trace] [flow:74e636d3.1fa3f8] ------------------|--------------|-----------------
16 Jun 15:26:20 - [trace] runtime event: {"id":"runtime-state","retain":true}
16 Jun 15:26:20 - [info] Flows sind gestartet
16 Jun 15:26:20 - [trace] runtime event: {"id":"runtime-deploy","payload":{"revision":"0a6409b0ab15fb1a3f36cb3405f8a78b"},"retain":true}```
Only by restarting node RED I can continue working (but I cant deploy the code to the function).
If I Import a flow from another pc (with functions), the flow itself runs fine.
Do you have any idea?