# Resolving error "A duplicate file name exists, or the file cannot be found."

**URL:** <https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004>\
**Category:** General\
**Created:** [26 February 2022 01:06 UTC](https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004 "2022-02-26T01:06:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PossumPro](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@PossumPro](https://discourse.nodered.org/u/PossumPro)\
**Post date:** [26 February 2022 01:06 UTC](https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004/1 "2022-02-26T01:06:40Z")

</div>

Hello,

I'm attempting to resolve an error with my Node-Red setup that I see when using the TagUI module. The error I'm seeing is after the execution of any TagUI module:

`"A duplicate file name exists, or the file cannot be found."`

I don't believe it's an issue with the TagUI module itself since I can run the same flow on a different install of NodeRed and I don't see the same error. It seems like it might be related to some kind of logging to a file at the conclusion of the module's execution...?

Does anyone have a starting point for how to debug this? Some background: I have Node and Node-Red installed in my user directory, not root, as this is a work machine and I wanted to keep things contained in my directory. Not sure if this is an issue or not, but thought I'd include the info if so.

Any help is much appreciated.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [26 February 2022 01:21 UTC](https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004/2 "2022-02-26T01:21:23Z")

</div>

I'm tempted to say "Hello Possum!" But won't! 😉  
[first 3 seconds](https://www.youtube.com/watch?v=kmpdm8DOX70)

> [@PossumPro](#):
>
> I don't believe it's an issue with the TagUI module itself since I can run the same flow on a different install of NodeRed and I don't see the same error.

I would beg to disagree.

Suggestion:  
(Oh, what O/S machine is this on?)  
(Assuming RasPi/Ubuntu)

Open a command line/terminal.

`cd .node-red`  
`node-red-stop`  
`node-red-start`

Look for any errors/complaints/problems when that starts up.

When you _see_ what you think is the problem, get back and post.

NOTE WHEN POSTING!

Start your reply.

**BEFORE** you paste, click the little _reverse tick_ key (the one to the LEFT of the `1` key) THREE times.  
Paste the stuff.  
(On a new line repeat the 3 _reverse ticks_)

It should look something like this (style wise)

```auto
This is an example of what you
should see if you did it correctly.

```

Then post your reply.

---

<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:** [26 February 2022 01:32 UTC](https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004/3 "2022-02-26T01:32:17Z")

</div>

Are you the person who opened this issue on `node-red-contrib-tagui`'s GitHub page?

> <https://github.com/open-rpa/node-red-contrib-tagui/issues/9>
>
> I am getting this error on all tagui modules, not sure why.
> 
> "A duplicate file… name exists, or the file cannot be found."

If so, you should follow up with the author.  
If not, you should add your voice to the thread.

- provide information on what device NR is running on,
- the versions or NR and node.js
- the version of node-red-contrib-tagui you are running
- anything else you thing is relevant.

---

<div class="post-metadata">

**Author:** ![PossumPro](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@PossumPro](https://discourse.nodered.org/u/PossumPro)\
**Post date:** [26 February 2022 18:14 UTC](https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004/4 "2022-02-26T18:14:55Z")

</div>

Yes, that was in fact me posting on the Github page.

I just updated NR to 2.2.2 and that appears to have solved the problem. I was on 2.1.7 before, having installed NR a few days before 2.2 was released.

Oddly, the other machine I ran the same flow with no errors is only on 2.1.4. 🤷‍♀️

---

<div class="post-metadata">

**Author:** ![PossumPro](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@PossumPro](https://discourse.nodered.org/u/PossumPro)\
**Post date:** [26 February 2022 20:32 UTC](https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004/5 "2022-02-26T20:32:50Z")

</div>

I spoke too soon. The error has returned. 😣

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [28 February 2022 01:08 UTC](https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004/6 "2022-02-28T01:08:03Z")

</div>

Is node-red installed in your home directory? Or another location?

---

<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:** [29 April 2022 01:08 UTC](https://discourse.nodered.org/t/resolving-error-a-duplicate-file-name-exists-or-the-file-cannot-be-found/59004/7 "2022-04-29T01:08:53Z")

</div>

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