# node red not opening

**URL:** https://discourse.nodered.org/t/node-red-not-opening/41706
**Category:** General
**Created:** [27 February 2021 08:22 UTC](https://discourse.nodered.org/t/node-red-not-opening/41706 "2021-02-27T08:22:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Razr](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@Razr](https://discourse.nodered.org/u/Razr)
#### Post date: [27 February 2021 08:22 UTC](https://discourse.nodered.org/t/node-red-not-opening/41706/1 "2021-02-27T08:22:53Z")

</div>

# Welcome to Node-RED

27 Feb 13:20:41 - [info] Node-RED version: v1.2.9  
27 Feb 13:20:41 - [info] Node.js version: v10.23.1  
27 Feb 13:20:41 - [info] Linux 5.10.11+ arm LE  
27 Feb 13:21:01 - [info] Loading palette nodes  
27 Feb 13:21:57 - [info] Dashboard version 2.28.1 started at /ui  
27 Feb 13:22:07 - [info] +-----------------------------------------------------  
27 Feb 13:22:07 - [info] | uibuilder initialised:  
27 Feb 13:22:07 - [info] | root folder: /home/pi/.node-red/uibuilder  
27 Feb 13:22:07 - [info] | version . .: 3.2.0  
27 Feb 13:22:07 - [info] | packages . : jquery,[socket.io](http://socket.io),bootstrap,bootstrap-vue,vue  
27 Feb 13:22:07 - [info] +-----------------------------------------------------  
27 Feb 13:22:12 - [info] Settings file : /home/pi/.node-red/settings.js  
27 Feb 13:22:12 - [info] Context store : 'default' [module=memory]  
27 Feb 13:22:12 - [info] User directory : /home/pi/.node-red  
27 Feb 13:22:12 - [warn] Projects disabled : editorTheme.projects.enabled=false  
27 Feb 13:22:12 - [info] Flows file : /home/pi/.node-red/flows\_raspberrypi.json  
27 Feb 13:22:12 - [warn]

* * *

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials  
file will not be recoverable, you will have to delete it and re-enter  
your credentials.

## You should set your own key using the 'credentialSecret' option in your settings file. Node-RED will then re-encrypt your credentials file using your chosen key the next time you deploy a change.

27 Feb 13:22:13 - [info] Starting flows  
27 Feb 13:22:14 - [info] [tsl2561:12e322ca.e91dcd] {"id":"12e322ca.e91dcd","type":"tsl2561","z":"1b72320.3b1f8ce","address":"41","integ":"2","gain":"1","debugMode":true,"x":330,"y":480,"wires":[["65bf1922.b3a388"],]}  
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] tsl2561 configuration  
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] ==========================================  
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] name -\> TSL2561 @ 0x41  
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] address -\> 41  
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] integ -\> {"value":2,"timeMs":402,"scale":1,"ch0fullScaleCountMax":63000,"ch0fullScaleCountMin":2600}  
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] debugMode -\> true  
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] ------------------------------------------  
27 Feb 13:22:14 - [info] Started flows  
27 Feb 13:22:14 - [red] Uncaught Exception:  
27 Feb 13:22:14 - Error: EINVAL, incorrect arguments passed to setAddr(int fd, int addr, bool forceAccess, function cb)  
at /home/pi/.node-red/node\_modules/i2c-bus/i2c-bus.js:78:11  
at FSReqWrap.args [as oncomplete] (fs.js:140:20)

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [27 February 2021 08:28 UTC](https://discourse.nodered.org/t/node-red-not-opening/41706/2 "2021-02-27T08:28:51Z")

</div>

You really need to add some more context here.

- What did you do before it crashed?
- Did you install a new node?

It looks like you have a misconfigured a node that is using i2c to talk to a device (TSL2561 light sensor?) This node probably needs to be updated to catch errors if the wrong value is passed in.

You can try adding `--safe` to the command line which will cause node-red to start without out actually launching the flow so you can then try changing the address.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [27 February 2021 08:39 UTC](https://discourse.nodered.org/t/node-red-not-opening/41706/3 "2021-02-27T08:39:11Z")

</div>

Which i2c node are you using? Probably node-red-contrib-something.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [28 April 2021 08:39 UTC](https://discourse.nodered.org/t/node-red-not-opening/41706/4 "2021-04-28T08:39:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
