# 2 msg.topic in calculation function node

**URL:** https://discourse.nodered.org/t/2-msg-topic-in-calculation-function-node/4526
**Category:** General
**Created:** [3 November 2018 13:14 UTC](https://discourse.nodered.org/t/2-msg-topic-in-calculation-function-node/4526 "2018-11-03T13:14:40Z")
**Posts on this page:** 5
**Page:** 2

<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: [24 November 2018 13:45 UTC](https://discourse.nodered.org/t/2-msg-topic-in-calculation-function-node/4526/22 "2018-11-24T13:45:39Z")

</div>

There seems to be something horribly wrong. What do you see in the logs when you restart node-red? Dependent on what o/s you are running you may be able to do that using

```auto
node-red-stop
node-red-start

```

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [24 November 2018 16:44 UTC](https://discourse.nodered.org/t/2-msg-topic-in-calculation-function-node/4526/23 "2018-11-24T16:44:28Z")

</div>

Given the old version of npm you were running, I would suggest following the advice Dave gave you on the other thread to upgrade your npm version and node-red using the script and see if that fixes this.

---

<div class="post-metadata">

### Author: ![nick](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@nick](https://discourse.nodered.org/u/nick)
#### Post date: [26 November 2018 18:20 UTC](https://discourse.nodered.org/t/2-msg-topic-in-calculation-function-node/4526/24 "2018-11-26T18:20:39Z")

</div>

sow i have upgrade everything, but it is still the same.  
see start up log file below.

# Starting as a systemd service. Started Node-RED graphical event wiring tool. 26 Nov 18:15:56 - [info] Welcome to Node-RED

## 26 Nov 18:15:56 - [info] Node-RED version: v0.19.5 26 Nov 18:15:56 - [info] Node.js version: v10.13.0 26 Nov 18:15:56 - [info] Linux 4.9.59-v7+ arm LE 26 Nov 18:15:57 - [info] Loading palette nodes 26 Nov 18:16:02 - [info] Dashboard version 2.11.0 started at /ui 26 Nov 18:16:02 - [warn] ------------------------------------------------------ 26 Nov 18:16:02 - [warn] [node-red-contrib-join/join] Type already registered 26 Nov 18:16:02 - [warn] ------------------------------------------------------ 26 Nov 18:16:02 - [info] Settings file : /home/pi/.node-red/settings.js 26 Nov 18:16:02 - [info] Context store : 'default' [module=memory] 26 Nov 18:16:02 - [info] User directory : /home/pi/.node-red 26 Nov 18:16:02 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable 26 Nov 18:16:02 - [info] Flows file : /home/pi/.node-red/flows\_raspberrypi.json 26 Nov 18:16:02 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/) 26 Nov 18:16:02 - [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.

26 Nov 18:16:03 - [info] Starting flows  
26 Nov 18:16:03 - [info] Started flows  
26 Nov 18:16:03 - [info] [mpd-server:55dd1a9d.c15af4] Connected to MPD server localhost:6600

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [26 November 2018 18:35 UTC](https://discourse.nodered.org/t/2-msg-topic-in-calculation-function-node/4526/25 "2018-11-26T18:35:24Z")

</div>

Ah - you have added a contrib node called join,,, and it is clashing with the built in node called join... so you must uninstall the one you added in.... then restart

---

<div class="post-metadata">

### Author: ![nick](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@nick](https://discourse.nodered.org/u/nick)
#### Post date: [28 November 2018 18:28 UTC](https://discourse.nodered.org/t/2-msg-topic-in-calculation-function-node/4526/26 "2018-11-28T18:28:11Z")

</div>

So I Removed the contrib node called join and now i got it to workt.  
thanks all for helping.

[Previous page](https://discourse.nodered.org/t/2-msg-topic-in-calculation-function-node/4526.md?page=1)
