# Can not find the reason for "Missing ENV var CONFIG\_PATH"

**URL:** <https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837>\
**Category:** General\
**Created:** [28 December 2022 15:30 UTC](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837 "2022-12-28T15:30:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [28 December 2022 15:30 UTC](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837/1 "2022-12-28T15:30:31Z")

</div>

Hiho,  
I ve no idea why I get this error message on startup:  
Missing ENV var CONFIG\_PATH  
The forum topics did not help me on that.  
Thx 4 help!

```auto
2022-12-28 16:25:55 28 Dec 16:25:55 - [info] Node.js version: v18.7.0
2022-12-28 16:25:55 28 Dec 16:25:55 - [info] Linux 5.15.79.1-microsoft-standard-WSL2 x64 LE
2022-12-28 16:25:57 28 Dec 16:25:57 - [info] Loading palette nodes
2022-12-28 16:26:01 Missing ENV var CONFIG_PATH
2022-12-28 16:26:01 28 Dec 16:26:01 - [info] Dashboard version 3.1.7 started at /ui
2022-12-28 16:26:01 28 Dec 16:26:01 - [warn] rpi-gpio : Raspberry Pi specific node set inactive

```

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [28 December 2022 20:41 UTC](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837/2 "2022-12-28T20:41:04Z")

</div>

> [@WhiteLion](#):
>
> CONFIG\_PATH

Search for that text in your settings.js file first. Then search for it in your flows.

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [28 December 2022 22:46 UTC](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837/3 "2022-12-28T22:46:09Z")

</div>

All I found is this:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/8/981b640d47c5d1548928316c107b8f971f992c71.png)

The \*.log files are old (Juli 2022).  
The other two files are parts of the modules.

---

<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:** [29 December 2022 09:51 UTC](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837/4 "2022-12-29T09:51:42Z")

</div>

Please don't post stuff like that as an image, how am I supposed to quote it?  
Did you look in the viseo file? In there, right near the start, is  
` if (undefined === process.env.CONFIG_PATH){ return console.log("Missing ENV var CONFIG_PATH"); }`  
so that node expects that to be set. Does it say anything about it in the help text for the nodes in that package? If not then you might have to ask on the node's github page.

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [29 December 2022 10:20 UTC](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837/5 "2022-12-29T10:20:48Z")

</div>

Thx for your reply! I was somehow thinking the message was related to misconfiguration of node red core itself and not coming from a module. I found a similar ISSUE reported on their git repository:

> <https://github.com/NGRP/node-red-contrib-viseo/issues/112>
>
> When installing node-red-contrib-viseo-dialogflow, i got the following error:
> \-…----------------------------------------------------------------------------------------------------
> 28 Nov 19:38:48 - \[info\] Installing module: node-red-contrib-viseo-dialogflow, version: 0.0.13
> 28 Nov 19:39:04 - \[info\] Installed module: node-red-contrib-viseo-dialogflow
> Missing ENV var CONFIG\_PATH
> 28 Nov 19:39:06 - \[info\] Added node types:
> 28 Nov 19:39:06 - \[info\] - node-red-contrib-viseo-dialogflow:dialogflow : SyntaxError: Unexpected token function
> 28 Nov 19:39:06 - \[info\] - node-red-contrib-viseo-dialogflow:dialogflow-server : TypeError: Cannot read property 'contextLRU' of undefined (line:59)
> 28 Nov 19:39:06 - \[info\] - node-red-contrib-viseo-dialogflow:dialogflow-config
> \-----------------------------------------------------------------------------------------------------
> Node Red 0.19.5 is installed on CentOS.

The answer was like: RTFM 🙂

Anyway I did uninstall the module since I does not need it anymore.

---

<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:** [12 January 2023 10:21 UTC](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837/6 "2023-01-12T10:21:02Z")

</div>

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