Cannot Install Email Node on Node Red V2.2.2

Hi,

I had to upgrade my node red due to a PLC crash, but now that i have version 2.2.2, i cant seem to install the email node back into it.

Any suggestions?

  1. what device is running NR? and What OS is it using?
  2. What version of node.js are you running?
  3. Are you trying to install node-red-node-email or another email node?
  4. How did you do the install? Please show us a log of the attempt.

HI,

I am using Groov Epic from Opto22. It has installed version 2.2.2.

I am trying to install node-red-node-email.


2023-05-22T16:22:24.835Z Install : node-red-node-email 2.0.0

2023-05-22T16:22:24.990Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-email@2.0.0
2023-05-22T16:22:55.019Z [err] npm ERR! code ENOTSUP
2023-05-22T16:22:55.153Z [err] npm
2023-05-22T16:22:55.154Z [err] ERR! notsup Unsupported engine for html-to-text@9.0.4: wanted: {"node":">=14"} (current: {"node":"12.22.1","npm":"6.14.12"})
2023-05-22T16:22:55.154Z [err] npm
2023-05-22T16:22:55.155Z [err] ERR! notsup Not compatible with your version of node/npm: html-to-text@9.0.4
2023-05-22T16:22:55.155Z [err] npm ERR!
2023-05-22T16:22:55.156Z [err] notsup Not compatible with your version of node/npm: html-to-text@9.0.4
2023-05-22T16:22:55.156Z [err] npm
2023-05-22T16:22:55.156Z [err] ERR! notsup Required: {"node":">=14"}
2023-05-22T16:22:55.156Z [err] npm
2023-05-22T16:22:55.157Z [err] ERR! notsup Actual: {"npm":"6.14.12","node":"12.22.1"}
2023-05-22T16:22:55.193Z [err]
2023-05-22T16:22:55.194Z [err] npm ERR!
2023-05-22T16:22:55.194Z [err] A complete log of this run can be found in:
2023-05-22T16:22:55.194Z [err] npm
2023-05-22T16:22:55.194Z [err] ERR! /home/dev/.npm/_logs/2023-05-22T16_22_55_177Z-debug.log
2023-05-22T16:22:55.242Z rc=1


2023-05-22T18:18:03.479Z Install : node-red-node-email 2.0.0

2023-05-22T18:18:03.671Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-email@2.0.0
2023-05-22T18:18:34.817Z [err] npm
2023-05-22T18:18:34.818Z [err] ERR! code ENOTSUP
2023-05-22T18:18:34.945Z [err] npm
2023-05-22T18:18:34.946Z [err] ERR! notsup Unsupported engine for html-to-text@9.0.4: wanted: {"node":">=14"} (current: {"node":"12.22.1","npm":"6.14.12"})
2023-05-22T18:18:34.946Z [err] npm ERR!
2023-05-22T18:18:34.947Z [err] notsup Not compatible with your version of node/npm: html-to-text@9.0.4
2023-05-22T18:18:34.947Z [err] npm
2023-05-22T18:18:34.948Z [err] ERR!
2023-05-22T18:18:34.948Z [err] notsup Not compatible with your version of node/npm: html-to-text@9.0.4
2023-05-22T18:18:34.948Z [err] npm
2023-05-22T18:18:34.949Z [err] ERR! notsup
2023-05-22T18:18:34.950Z [err] Required: {"node":">=14"}
2023-05-22T18:18:34.950Z [err] npm ERR! notsup Actual: {"npm":"6.14.12","node":"12.22.1"}
2023-05-22T18:18:34.994Z [err]
2023-05-22T18:18:34.995Z [err] npm ERR!
2023-05-22T18:18:34.997Z [err] A complete log of this run can be found in:
2023-05-22T18:18:34.997Z [err] npm ERR! /home/dev/.npm/_logs/2023-05-22T18_18_34_972Z-debug.log
2023-05-22T18:18:35.052Z rc=1

The node you are attempting to install has a dependency requiring node 14

Your device is running node V12 (Which by the way is end of life)

Perhaps there is a way to upgrade the device? A better place to ask might be the opto forum

Or you could try manually installing an older version of the email node...

cd  ~/.node-red
npm i node-red-node-email@1

(assuming that there is a way to get a command prompt and that the default directory is the correct place... again that may be Opto specific.)

thanks! ill keep you posted on what solution i find.

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