Waiting for missing types to be registered:

After updating the node.js, you cannot use node-red to report an error as shown in the figure and ask for help
<Welcome to Node-RED

1 Nov 13:59:09 - [info] Node-RED version: v3.0.2
1 Nov 13:59:09 - [info] Node.js version: v16.14.2
1 Nov 13:59:09 - [info] Windows_NT 10.0.19044 ia32 LE
1 Nov 13:59:10 - [info] Loading palette nodes
Missing ENV var CONFIG_PATH
1 Nov 13:59:12 - [info] Dashboard version 2.19.4 started at /ui
1 Nov 13:59:12 - [warn] ------------------------------------------------------
1 Nov 13:59:12 - [warn] [node-red-node-serialport/serialport] Error: \?\C:\Users\A_BAY_3.node-red\node_modules\node-red-node-serialport\node_modules@serialport\bindings\build\Release\bindings.node is not a valid Win32 application.
\?\C:\Users\A_BAY_3.node-red\node_modules\node-red-node-serialport\node_modules@serialport\bindings\build\Release\bindings.node
1 Nov 13:59:12 - [warn] [node-red-contrib-enocean/enocean-config-node] Error: \?\C:\Users\A_BAY_3.node-red\node_modules\node-red-contrib-enocean\node_modules@serialport\bindings\build\Release\bindings.node is not a valid Win32 application.
\?\C:\Users\A_BAY_3.node-red\node_modules\node-red-contrib-enocean\node_modules@serialport\bindings\build\Release\bindings.node
1 Nov 13:59:12 - [warn] ------------------------------------------------------
1 Nov 13:59:12 - [info] Settings file : \Users\A_BAY_3.node-red\settings.js
1 Nov 13:59:12 - [info] Context store : 'default' [module=memory]
1 Nov 13:59:12 - [info] User directory : \Users\A_BAY_3.node-red
1 Nov 13:59:12 - [warn] Projects disabled : editorTheme.projects.enabled=false
1 Nov 13:59:12 - [warn] Flows file name not set. Generating name using hostname.
1 Nov 13:59:12 - [info] Flows file : \Users\A_BAY_3.node-red\flows_DESKTOP-RJ03EM5.json
1 Nov 13:59:12 - [info] Server now running at http://127.0.0.1:1880/
1 Nov 13:59:12 - [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.

1 Nov 13:59:12 - [info] Waiting for missing types to be registered:
1 Nov 13:59:12 - [info] - serial-port (provided by npm module node-red-node-serialport)
1 Nov 13:59:12 - [info] - MySQLdatabase
1 Nov 13:59:12 - [info] - OpcUa-Endpoint
1 Nov 13:59:12 - [info] - mysql
1 Nov 13:59:12 - [info] - serial in (provided by npm module node-red-node-serialport)
1 Nov 13:59:12 - [info] - book
1 Nov 13:59:12 - [info] - sheet
1 Nov 13:59:12 - [info] - cell
1 Nov 13:59:12 - [info] - sheet-to-json
1 Nov 13:59:12 - [info] - serial out (provided by npm module node-red-node-serialport)
1 Nov 13:59:12 - [info] - OpcUa-Server
1 Nov 13:59:12 - [info] - OpcUa-Client
1 Nov 13:59:12 - [info] - OpcUa-Item
1 Nov 13:59:12 - [info] To install any of these missing modules, run:
1 Nov 13:59:12 - [info] npm install
1 Nov 13:59:12 - [info] in the directory:
1 Nov 13:59:12 - [info] \Users\A_BAY_3.node-red>

First go into into your .node-red directory and run
npm rebuild
Then use manage palette to check all your nodes are on the latest versions.

To expand on Colin's response, many major version changes of node.js come with an update C++ compiler and libraries and so any binary libraries included in packages have to be recompiled. That is what the npm rebuild command will do.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.