After beagleplay burned the image, I ran node-red
When installing node-red-node-serialport in the Manage palette, the following error will occur:
I have also installed the latest versions of npm and node, but the error still occurs. What is wrong?
2023-12-07T08:42:28.885Z install : node-red-node-serialport 2.0.2
2023-12-07T08:42:28.221Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-serialport@2.0.2
2023-12-07T08:42:35.219Z [err] npm
2023-12-07T08:42:35.221Z [err] ERR! code ENOTSUP
2023-12-07T08:42:35.332Z [err] npm ERR!
2023-12-07T08:42:35.333Z [err] notsup Unsupported engine for node-red-node-serialport@2.0.2: wanted: {"node":">=16.0.0"} (current: {"node":"14.21.3","npm":"6.14.18"})
2023-12-07T08:42:35.333Z [err] npm ERR! notsup Not compatible with your version of node/npm: node-red-node-serialport@2.0.2
2023-12-07T08:42:35.333Z [err] npm ERR! notsup Not compatible with your version of node/npm: node-red-node-serialport@2.0.2
2023-12-07T08:42:35.333Z [err] npm
2023-12-07T08:42:35.334Z [err] ERR! notsup Required: {"node":">=16.0.0"}
2023-12-07T08:42:35.334Z [err] npm ERR! notsup Actual: {"npm":"6.14.18","node":"14.21.3"}
2023-12-07T08:42:35.358Z [err]
2023-12-07T08:42:35.359Z [err] npm ERR! A complete log of this run can be found in:
2023-12-07T08:42:35.359Z [err] npm ERR! /var/lib/node-red/.npm/_logs/2023-12-07T08_42_35_338Z-debug.log
2023-12-07T08:42:35.402Z rc=1