Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-red-node-email, send node "ReferenceError: msg is not defined" on deploy #1054

Open
hadwll opened this issue Mar 7, 2024 · 1 comment

Comments

@hadwll
Copy link

hadwll commented Mar 7, 2024

excellent write up in this thread;

https://discourse.nodered.org/t/node-red-emailer-and-0auth2-referenceerror-msg-is-not-defined-function-check/86178/2

Intro- the node red email node when selecting the XOauth2 setting in the interface is giving the error "ReferenceError: msg is not defined when deployed.

Which node are you reporting an issue on?

node-red-node-email, send node

What are the steps to reproduce?

set the send node to use XOuth2 authentication and deploy the flow

What happens?

on deploy the "ReferenceError: msg is not defined" is displayed in the debug panel,

What do you expect to happen?

no error on deploy.

Please tell us about your environment:

  • [ 3.1.3] Node-RED version:
  • [v16.20.2 ] node.js version:
  • [ 8.19.4] npm version:
  • [ docker container, Ubuntu 22.04.4 LTS (server) ] Platform/OS:
  • [mozilla ] Browser:

docker run command

docker run -it -p 1880:1880 -p 8080:8080 -v node_red_data:/data --network="host" --name mynodered nodered/node-red

@dceejay
Copy link
Member

dceejay commented Mar 12, 2024

Hi @wooferguy
don't know if have time to have a look at this ? I guess that in the case of OAuth2 the actual setup of the connection needs to wait until the first message comes in with the token ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants