# I got problem in run node red

**URL:** <https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791>\
**Category:** General\
**Created:** [6 February 2023 14:54 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791 "2023-02-06T14:54:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![issambfs1](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Post date:** [6 February 2023 14:54 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791/1 "2023-02-06T14:54:52Z")

</div>

6 Feb 15:38:36 - [info] Starting flows  
6 Feb 15:38:36 - [error] Missing API key for  
MongoDB URL: mongodb://127.0.0.1:2\*\*\*\*\*/datalogin  
6 Feb 15:38:36 - [error] Missing API key for 169.\*\*\*\*\*  
6 Feb 15:38:36 - [error] [serial out:35c022c\*\*\*\*] missing serial config  
6 Feb 15:38:36 - [error] [serial in:ebf8aa12\*\*\*\*] missing serial config  
6 Feb 15:38:36 - [error] [mqtt in:d10b4b72c\*\*\*\*\*] topic not defined  
6 Feb 15:38:36 - [info] Started flows  
6 Feb 15:38:37 - [error] [function:function 48] SyntaxError: Unexpected token '{' (body:line 3)  
6 Feb 15:38:37 - [error] [function:function 49] SyntaxError: Unexpected token '{' (body:line 3)  
6 Feb 15:38:37 - [red] Uncaught Exception:  
6 Feb 15:38:37 - [error] Error: ENOENT: no such file or directory, stat 'C:\var\spool\sms\incoming'

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [6 February 2023 15:43 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791/2 "2023-02-06T15:43:17Z")

</div>

You have a lot of nodes that look like they are not configured. You will have to configure the mongoldb node, serial out, serial in and Matt in nodes.

Then you need to fix the error in your two function nodes and it looks like you are trying to access a file that doesn't exist.

Without more information, that's about all that anyone can do to help you.

---

<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:** [6 February 2023 15:49 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791/3 "2023-02-06T15:49:16Z")

</div>

How did you get into that situation? Was it working previously? If so then what happened that caused it to stop working?

---

<div class="post-metadata">

**Author:** ![issambfs1](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Post date:** [7 February 2023 08:59 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791/4 "2023-02-07T08:59:56Z")

</div>

it was working normally at i install node node-red-contrib-smstools after that 15 min later node red stoped

i try to uninstall it in cmd but the problem didn't get fixed

---

<div class="post-metadata">

**Author:** ![issambfs1](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Post date:** [7 February 2023 09:23 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791/5 "2023-02-07T09:23:17Z")

</div>

i fix it with following this steps :  
 ![node red fix](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/f/2f98f7e6378d0246e1c9802e67fa60847e1bfae8.png)

or just run cmd as admin and set ; mkdir C:\var\spool\sms\incoming

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [7 February 2023 09:24 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791/6 "2023-02-07T09:24:07Z")

</div>

The node - node-red-contrib-smstools - hasn't been updated in over 7 years. You should always check out a node before installing it. If you had followed the link to the NPM page, you would have seen this

> Listen and send SMS messages over smstools3 daemon. Development is still on early stage so do not be surprised if your hardware decides to catch on fire.
> 
> ### Pre-requisite
> 
> - Install and configure `smstools` server on your machine ([http://smstools3.kekekasvi.com/](http://smstools3.kekekasvi.com/)).
> - Make sure your `node-red` instance has read permissions in all of `/var/spool/sms/` directories and write permissions in `/var/spool/sms/outgoing` directory.

and had you checked out the link in the `Pre-requisite` you would have found that the smstools site was last updated in 2017.

I don't know about you but I would run away from that node.

---

<div class="post-metadata">

**Author:** ![issambfs1](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Post date:** [7 February 2023 09:30 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791/7 "2023-02-07T09:30:53Z")

</div>

i had delete node smstools ! because it has deleted the file that get me into the problem

i was looking for node to use the sim900a in raspberry .

but thanks for your reply

---

<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:** [21 February 2023 09:31 UTC](https://discourse.nodered.org/t/i-got-problem-in-run-node-red/74791/8 "2023-02-21T09:31:40Z")

</div>

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