Updating Node-RED on IBM Cloud

I upgraded node red to 0.20.3 on IBM Cloud using the instructions in this link:


Then I got an error saying that for node-red-node-email 1.3.0 needs node.js version >=8. So I edited the package.jason engines:

"engines": {
"node": "8.x"

and restaged the application. The restaging log shows that it is installing node.js v8.15.1:

-----> Installing binaries
engines.node (package.json): 8.x
engines.npm (package.json): unspecified (use default)

      Resolving node version 8.x via 'node-version-resolver'
      Downloading and installing node 8.15.1...
      Using default npm version: 6.4.1

But I stiil get the error for the email node saying it needs node.js version >=8

Any help appreciated.


Miguel Suarez

Hi Miguel, I had the same issue after upgrading NodeRed. I got around the issue by adding the sendmail node directly into my package.json file as a depandancy. I am still not 100% sure why the node dependancy did not confirm that NodeRed was now running with Node =>8. It would be my guess that one of the hidden cache files contains old info, and was not being updated by the cloud deployment. I had a similar issue with the Serail Port Node, which still believed it was part of the old basic NodeRed nodes.