--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
Hi, I responded to your message to the list owners - your other messages were not deleted. They had been held for moderation as Google suspected them of being spam. I approved your message and all future posts so they shouldn't get held again. Apologies for the inconvenience. You'l see your original message has been posted to the list - I certainly received a copy.
`functionGlobalContext` is a user setting that must go into the settings file your node-red instance is using. Node-RED will only be using one settings file; it logs exactly which it's using on startup. As to how you set that on FRED specifically, I'll have to defer to Mike or someone else from the FRED team to chip in.
Nick
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/1b6f8836-78c5-4cf0-a593-27fee4fa0546%40googlegroups.com.
Hi, I responded to your message to the list owners - your other messages were not deleted. They had been held for moderation as Google suspected them of being spam. I approved your message and all future posts so they shouldn't get held again. Apologies for the inconvenience. You'l see your original message has been posted to the list - I certainly received a copy.
`functionGlobalContext` is a user setting that must go into the settings file your node-red instance is using. Node-RED will only be using one settings file; it logs exactly which it's using on startup. As to how you set that on FRED specifically, I'll have to defer to Mike or someone else from the FRED team to chip in.
Nick
On Fri, 17 Mar 2017, 17:49 M.R. Smith, <7tro...@gmail.com> wrote:
Trying 3rd time, asking a question about settings.js, each one has been deleted (why?)We too are trying to access a node.js module (sphero) under Node.RED and are not getting the functionGlobalContext: { } ... correct.Questions related to the Docker Node-RED image we used as the base.Where should I make a change to settings.js when trying to "use" an imported node.js module?1) can this functionGlobalContext:{ } go in the function itself, or MUST it go into settings.js file?We have some Node-RED flows which defaulted to /data, so we have several settings.js files:/usr/src/node-red/node_modules/settings.js/usr/src/node-red/node_modules/red/runtime/settings.jsthen under /data where contributions to Node-RED stated they should go for FRED and one other:/data/node-red/node_modules/settings.js/data/node-red/node_modules/red/runtime/settings.jsSo which one(s) do we edit?--Tx, MarkPS - I changed from my default mark...@snkmail.com e-mail in case this list doesn't allow posts from snkmail.com
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.