# Node\_modules sync in development

**URL:** <https://community.grafana.com/t/node-modules-sync-in-development/62018>\
**Category:** Grafana Plugin Development\
**Created:** [March 8, 2022, 7:25pm UTC](https://community.grafana.com/t/node-modules-sync-in-development/62018 "2022-03-08T19:25:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aramosvizcarra](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@aramosvizcarra](https://community.grafana.com/u/aramosvizcarra)\
**Post date:** [March 8, 2022, 7:25pm UTC](https://community.grafana.com/t/node-modules-sync-in-development/62018/1 "2022-03-08T19:25:37Z")

</div>

Hi there,  
I’m having an issue trying to link a grafana plugin I’m working on.  
This plugin use a node module that was created by us. and I have to modify both of them, but everytime I add the plugin to grafana I see the the node\_module is not in sync and keeps loading the release version.

Maybe this is not the place to ask this but if someone have an idea, I’m sure is simple. I just can’t figure it out.

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![xiaonuno](https://avatars.discourse-cdn.com/v4/letter/x/838e76/32.png) [@xiaonuno](https://community.grafana.com/u/xiaonuno)\
**Post date:** [May 3, 2022, 2:46pm UTC](https://community.grafana.com/t/node-modules-sync-in-development/62018/2 "2022-05-03T14:46:32Z")

</div>

Im a bit late to answer but hopefully this help you and others who look for the same answer.

As far as I know, when creating a plugin, the **yarn build** command will create a **dist** folder which is the only thing needed for grafana to load and use the plugin.

---

<div class="post-metadata">

**Author:** ![aramosvizcarra](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@aramosvizcarra](https://community.grafana.com/u/aramosvizcarra)\
**Post date:** [July 14, 2022, 8:30pm UTC](https://community.grafana.com/t/node-modules-sync-in-development/62018/3 "2022-07-14T20:30:35Z")

</div>

I think the dist folder was empty and since I slink’ed this folder to the plugins dir in grafana it was just looking somewhere else for the prod version. After doing an npm run dev or npm run watch it workd.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [July 14, 2023, 8:31pm UTC](https://community.grafana.com/t/node-modules-sync-in-development/62018/4 "2023-07-14T20:31:14Z")

</div>

Closed on July 14, 2023, 8:31pm UTC

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