# Add new library using library store

**URL:** <https://discourse.nodered.org/t/add-new-library-using-library-store/67469>\
**Category:** General\
**Created:** [8 September 2022 08:35 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469 "2022-09-08T08:35:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alevher](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alevher/32/65952_2.png) [@alevher](https://discourse.nodered.org/u/alevher)\
**Post date:** [8 September 2022 08:35 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469/1 "2022-09-08T08:35:48Z")

</div>

Good moning everyone!

I am trying to add a local library and i came acrosss this:

> **[GitHub - node-red/node-red-library-file-store](https://github.com/node-red/node-red-library-file-store)**
>
> Contribute to node-red/node-red-library-file-store development by creating an account on GitHub.

i added the library portion to the settings file and created the folder but i see the new library tab but i still can't see the flows inside, have i missed something?

thanks in advance

(i'll leave the settings code here):

library: {  
sources: [  
{  
id: "sss-examples-library",  
type: "node-red-library-file-store",  
path: \_\_dirname + "\style\sss-examples\",  
label: "SSS-Examples",  
icon: "font-awesome/fa-users"  
}  
]  
},

---

<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:** [8 September 2022 10:24 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469/2 "2022-09-08T10:24:00Z")

</div>

1. What device and OS is Node-red running on?
2. What version of Node-RED and node.js are you on? (you can get this from the startup log)
3. What are the permissions for the folder?
4. the documentation states:

```auto
`path` **Required**
The absolute path to the where the library should be stored path 

```

what happens if you change to an absolute path like ` path: "/Users/tom/work/team-library/"`?

---

<div class="post-metadata">

**Author:** ![alevher](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alevher/32/65952_2.png) [@alevher](https://discourse.nodered.org/u/alevher)\
**Post date:** [8 September 2022 11:15 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469/3 "2022-09-08T11:15:07Z")

</div>

1. windows 10
2. NODE JS 16.14.2 AND NODE RED 3.0.2

3)the folder has no special permission for access

1. i know but i saw from the settings file that \_\_dirname can be used, and it works for a lot of other things in the settings file. i tried also the absolute path but nothing...

---

<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:** [8 September 2022 13:03 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469/4 "2022-09-08T13:03:32Z")

</div>

When you go to the hamburger menu and select 'Import' do you see something like this?

 ![Screen Shot 2022-09-08 at 9.02.29 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/f/bf227f724856ea4c9b78537fbfc6e6882d3769e6.png)

---

<div class="post-metadata">

**Author:** ![alevher](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alevher/32/65952_2.png) [@alevher](https://discourse.nodered.org/u/alevher)\
**Post date:** [8 September 2022 13:33 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469/5 "2022-09-08T13:33:39Z")

</div>

yep, exactly like that, no flows are displayed

I only installed the plugin like in the solution i linked and modified the settings file

---

<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:** [8 September 2022 13:51 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469/6 "2022-09-08T13:51:02Z")

</div>

Have you tried exporting a flow to that location?

---

<div class="post-metadata">

**Author:** ![alevher](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alevher/32/65952_2.png) [@alevher](https://discourse.nodered.org/u/alevher)\
**Post date:** [8 September 2022 14:24 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469/7 "2022-09-08T14:24:25Z")

</div>

with this question you just gave me the solution, the flows subdirectory was missing, thanks a lot

---

<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:** [22 September 2022 14:24 UTC](https://discourse.nodered.org/t/add-new-library-using-library-store/67469/8 "2022-09-22T14:24:46Z")

</div>

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