# ReferenceError: node is not defined

**URL:** <https://discourse.nodered.org/t/referenceerror-node-is-not-defined/8523>\
**Category:** General\
**Created:** [2 March 2019 09:17 UTC](https://discourse.nodered.org/t/referenceerror-node-is-not-defined/8523 "2019-03-02T09:17:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)\
**Post date:** [2 March 2019 09:55 UTC](https://discourse.nodered.org/t/referenceerror-node-is-not-defined/8523/3 "2019-03-02T09:55:13Z")

</div>

Hi @Colin, thank you for your reply.

I am currently running NR on debian stretch 64 bit, with latest npm and node js version 10.15.2 lts.

heres the output from startup:

```auto
Starting as a systemd service.
Started Node-RED graphical event wiring tool.
2 Mar 10:51:26 - [info]
Welcome to Node-RED
===================
2 Mar 10:51:26 - [info] Node-RED version: v0.19.6
2 Mar 10:51:26 - [info] Node.js version: v10.15.2
2 Mar 10:51:26 - [info] Linux 4.9.0-8-amd64 x64 LE
2 Mar 10:51:27 - [info] Loading palette nodes
2 Mar 10:51:27 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
2 Mar 10:51:27 - [warn] rpi-gpio : Cannot find Pi RPi.GPIO python library
2 Mar 10:51:27 - [warn] ------------------------------------------------------
2 Mar 10:51:27 - [warn] [node-red-contrib-mi-sensors/xiaomi-yeelight] Error: /home/bednarz/.node-red/node_modules/node-red-contrib-mi-sensors/dist/nodes/yeelight/index.html does not exist
2 Mar 10:51:27 - [warn] ------------------------------------------------------
2 Mar 10:51:27 - [info] Settings file : /home/bednarz/.node-red/settings.js
2 Mar 10:51:27 - [info] Context store : 'default' [module=memory]
2 Mar 10:51:27 - [info] User directory : /home/bednarz/.node-red
2 Mar 10:51:27 - [warn] Projects disabled : editorTheme.projects.enabled=false
2 Mar 10:51:27 - [info] Flows file : /home/bednarz/.node-red/flows_debian.json
2 Mar 10:51:27 - [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.
---------------------------------------------------------------------
2 Mar 10:51:27 - [info] Starting flows
2 Mar 10:51:27 - [info] [xiaomi-gateway out:hub] udp.status.ready-nolocal
2 Mar 10:51:27 - [info] Started flows
2 Mar 10:51:27 - [info] [xiaomi-gateway in:hub] udp.status.listener-at
2 Mar 10:51:27 - [info] [xiaomi-gateway in:hub] udp.status.mc-group
2 Mar 10:51:27 - [info] Server now running at http://127.0.0.1:1880/

```

and it runs fine with other sensors, that are added, but this one particular that causes issues - does not work. sensor itself does work and also runs fine on my other node red system.

thank you

---

_[View the full topic](https://discourse.nodered.org/t/referenceerror-node-is-not-defined/8523)._
