btw
Once Node-RED has started, point a browser at http://192.168.1.3:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service.
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
node: --max-old-space-size=128 is not allowed in NODE_OPTIONS
nodered.service: main process exited, code=exited, status=9/n/a
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
node: --max-old-space-size=128 is not allowed in NODE_OPTIONS
nodered.service: main process exited, code=exited, status=9/n/a
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
node: --max-old-space-size=128 is not allowed in NODE_OPTIONS
nodered.service: main process exited, code=exited, status=9/n/a
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
node: --max-old-space-size=128 is not allowed in NODE_OPTIONS
nodered.service: main process exited, code=exited, status=9/n/a
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
nodered.service start request repeated too quickly, refusing to start.
Failed to start Node-RED graphical event wiring tool..
there was an issue the other day which might be related
https://groups.google.com/forum/m/#!topic/node-red/1oDHOVtLuRo
but that appeared to only be and issue with other types of autostartscript rather than the recommended script. So if this is on a raspberry pi it might be worth using the update script (see the docs) and then replacing your auto start script with the supported one and trying again.
Did you update to node 6.12 yesterday?
As of node 6.12, the NODE_OPTIONS environment variable can be used to set runtime arguments of the node process.
By unlucky coincidence, we used the name NODE_OPTIONS for the environment variable that the service script uses to build the command the service runs.
So as of 6.12, if any invalid options are specified in NODE_OPTIONS, the node process will complain where it didn't before.
When they originally added support for this environment variable in node 8.x, they also added a fix to allow parameter names specified in the env var to use either - or _. When they backported support for the env variable to 6.12 they did not include the fix for -/_. Which means max-old-space-size is rejected but the version with _ in is accepted. The -/_ fix is now a candidate for backporting as well, so hopefully 6.13 will fix that bit.
That's probably far more detail than you wanted to know, but there you are!
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+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.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/73bc256a-eaae-42d3-a631-1f58f895b841%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.