email node missing after upgrade to 1.4.16

Home Forums Conduit: AEP Model email node missing after upgrade to 1.4.16

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23135
    Robert Macklin
    Participant

    I just applied the 1.4.16 update to a Conduit AP. The Node-RED environment is missing the two email nodes. I tried to install it using:

    npm install node-red-node-email

    and received a number of warnings:

    admin@mtcap:~# cd /opt/node-red
    admin@mtcap:/opt/node-red# npm uninstall node-red-node-email
    unbuild node-red-node-email@0.1.29
    admin@mtcap:/opt/node-red# npm install node-red-node-email
    npm WARN deprecated mailparser@0.6.2: This project is unmaintained
    npm WARN deprecated nodemailer@1.11.0: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
    npm WARN deprecated mailcomposer@2.1.0: This project is unmaintained
    npm WARN deprecated buildmail@2.0.0: This project is unmaintained
    npm WARN deprecated mimelib@0.3.1: This project is unmaintained
    npm WARN engine mime@1.6.0: wanted: {"node":">=4"} (current: {"node":"0.10.48","npm":"2.15.1"})
    node-red-node-email@0.1.29 node_modules/node-red-node-email
    ├── poplib@0.1.7 (optimist@0.6.1)
    ├── mailparser@0.6.2 (mime@1.6.0, uue@3.1.2, mimelib@0.3.1, encoding@0.1.12)
    ├── imap@0.8.19 (utf7@1.0.2, readable-stream@1.1.14)
    └── nodemailer@1.11.0 (nodemailer-smtp-transport@1.1.0, nodemailer-direct-transport@1.1.0, libmime@1.2.0, needle@0.11.0, mailcomposer@2.1.0)
    admin@mtcap:/opt/node-red#

    I checked the node_modules directory and the node-red-node-email folder is present. When I run Node-RED and check under “Manage palette” it shows there as well, but the two nodes are not present in the sidebar and my flow reports a missing node error when it loads.

    #23136
    Jason Reiss
    Keymaster

    Looking in /var/log/app/node-red.log I see

    
    /opt/node-red/node_modules/node-red-node-email/node_modules/mailparser/node_modules/uue/uue.js:184
       matches.forEach(nextMatch => {
                                  ^
    29 Mar 16:40:49 - [warn] ------------------------------------------------------
    29 Mar 16:40:49 - [warn] [email] SyntaxError: Unexpected token >
    

    This looks to be a node.js incompatibility with the versions being installed.

    #23137
    Robert Macklin
    Participant

    I just found that as well. I checked another Conduit I have with the older firmware. It uses version 0.1.24 of the email node. I removed the latest 0.1.29 and installed the older version and the node shows in the sidebar.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.