Update: if you are using a custom theme, you may get an error in the log when you try to access the editor: UnhandledPromiseRejectionWarning: TypeError: Cannot read property '_' of undefined . See 🎉 Node-RED 1.3.4 released - #4 by knolleary for the workaround.
You may have also spotted that Node.js 16 has been released. As it stands, we haven't tested against that version due to one of our devDependencies not yet supporting it. That shouldn't stop Node-RED itself working fine on 16 - but keep in mind that we recommend either 12 or 14.
Node.js removes all support for Node 10 tomorrow. Node-RED 1.x will still run on node 10 (and the even more ancient 8) but Node-RED 2.x will be dropping support for anything before Node 12.
Welcome to Node-RED
===================
29 Apr 09:23:23 - [info] Node-RED version: v1.3.4
29 Apr 09:23:23 - [info] Node.js version: v12.22.1
29 Apr 09:23:23 - [info] Linux 4.19.0-16-amd64 x64 LE
29 Apr 09:23:23 - [info] Loading palette nodes
29 Apr 09:23:24 - [info] Settings file : /data/settings.js
29 Apr 09:23:24 - [info] Context store : 'default' [module=memory]
29 Apr 09:23:24 - [info] User directory : /data
29 Apr 09:23:24 - [warn] Projects disabled : editorTheme.projects.enabled=false
29 Apr 09:23:24 - [info] Flows file : /data/flows.json
29 Apr 09:23:24 - [info] Server now running at http://127.0.0.1:1880/
29 Apr 09:23:24 - [info] Starting flows
29 Apr 09:23:24 - [info] Started flows
(node:18) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '_' of undefined
at Object.context (/usr/src/node-red/node_modules/@node-red/editor-api/lib/editor/theme.js:234:32)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async editor (/usr/src/node-red/node_modules/@node-red/editor-api/lib/editor/ui.js:94:49)
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:18) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '_' of undefined
at Object.context (/usr/src/node-red/node_modules/@node-red/editor-api/lib/editor/theme.js:234:32)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async editor (/usr/src/node-red/node_modules/@node-red/editor-api/lib/editor/ui.js:94:49)
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
Just a quick one - Function node editor in the previous version was having a hissy fit displaying stuff after "℃". It would confuse itself as where the pointer and next character should be placed.
I wonder if this had been reported before.
Strange - what browser is this with? I cannot reproduce it in chrome.
Given the editor component is an upstream component it isn't something we can 'fix' directly. Aside from not being able to reproduce, it is a curious issue. We have lots of users in Japan who will be regularly using characters outside of the common ASCII set and have not had any mention of issues like this.
Happening to me on v1.3.2 as well. I'm using W10 with Edge Version 90.0.818.46 (Official build) (64-bit). Though it has just offered me an update so I'll try that.
I'm currently running 1.3.1 on a Windows 10 PC. I have previously updated using;
'npm install -g --unsafe-perm node-red' in a CMD box with elevated privileges.
I have tried to update to 1.3.4 but seem unable to. I get the following;
C:\WINDOWS\system32>npm install -g --unsafe-perm node-red npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request@2.88.0: request has been deprecated, see Request’s Past, Present and Future · Issue #3142 · request/request · GitHub npm WARN deprecated bcrypt@3.0.6: versions < v5.0.0 do not handle NUL in passwords properly npm WARN deprecated bcrypt@3.0.8: versions < v5.0.0 do not handle NUL in passwords properly npm WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated node-pre-gyp@0.12.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
changed 340 packages, and audited 341 packages in 2m