# Official Joplin plugin repository is now ready! If you are developing a plugin please read on

**URL:** <https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635>\
**Category:** Development\
**Created:** [5 January 2021 15:20 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635 "2021-01-05T15:20:50Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![ambrt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ambrt/32/4428_2.png) [@ambrt](https://discourse.joplinapp.org/u/ambrt)\
**Post date:** [12 January 2021 21:47 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/21 "2021-01-12T21:47:49Z")

</div>

I did `npm install -g generator-joplin && yo joplin --update`  
and all my plugins locally don't seem to work

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [12 January 2021 22:04 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/22 "2021-01-12T22:04:58Z")

</div>

> [@ambrt](#):
>
> and all my plugins locally don't seem to work

What error do you get?

---

<div class="post-metadata">

**Author:** ![ambrt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ambrt/32/4428_2.png) [@ambrt](https://discourse.joplinapp.org/u/ambrt)\
**Post date:** [12 January 2021 22:31 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/23 "2021-01-12T22:31:03Z")

</div>

Plugins compile without error but when i try to install .jpl, i get:

```auto
PluginService: Installing plugin: "/home/x/Desktop/Dev/my-joplin-git/joplin-plugin-go-to-item-via-text/publish/joplin.plugin.ambrt.goToItem.jpl"
/tmp/.mount_Joplin6H…luginService.js:142 Uncaught (in promise) Error: Missing manifest file at: /home/x/.config/joplindev-desktop/tmp/joplin.plugin.ambrt.goToItem/manifest.json
    at PluginService.<anonymous> (/tmp/.mount_Joplin6H…luginService.js:142)
    at Generator.next (<anonymous>)
    at fulfilled (/tmp/.mount_Joplin6H…/PluginService.js:5)

```

the folder mentioned has only 3 files  
`~/.config/joplindev-desktop/tmp/joplin.plugin.ambrt.goToItem`

`autocomplete.js TagsAndNotebookAsLinks.js tagsNotebooks.js`  
those are items from extraScripts

`manifest` and `index` aren't included.

---

<div class="post-metadata">

**Author:** ![ambrt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ambrt/32/4428_2.png) [@ambrt](https://discourse.joplinapp.org/u/ambrt)\
**Post date:** [13 January 2021 10:24 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/24 "2021-01-13T10:24:54Z")

</div>

Tested it on clean repo but same problem

> **[ambrt/joplin-test1](https://github.com/ambrt/joplin-test1)**
>
> Contribute to ambrt/joplin-test1 development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [13 January 2021 10:42 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/25 "2021-01-13T10:42:28Z")

</div>

Maybe some problem with the way the generator is installed? What's the output of `npm list -g generator-joplin`?

---

<div class="post-metadata">

**Author:** ![ambrt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ambrt/32/4428_2.png) [@ambrt](https://discourse.joplinapp.org/u/ambrt)\
**Post date:** [13 January 2021 10:46 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/26 "2021-01-13T10:46:32Z")

</div>

```auto
/usr/local/lib
└── generator-joplin@1.6.11 

```

I'll create empty plugin and see if it's same problem.

---

<div class="post-metadata">

**Author:** ![ambrt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ambrt/32/4428_2.png) [@ambrt](https://discourse.joplinapp.org/u/ambrt)\
**Post date:** [13 January 2021 11:02 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/27 "2021-01-13T11:02:38Z")

</div>

Empty plugin installs correctly but  
the problem is with `extraScripts` - when i added empty asdf.js file to /src and to "extraScripts": ["asdf.js"] error of no `manifest.json` occurs.

> **[ambrt/joplin-test2](https://github.com/ambrt/joplin-test2)**
>
> Contribute to ambrt/joplin-test2 development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [13 January 2021 12:21 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/28 "2021-01-13T12:21:47Z")

</div>

Yes there was indeed an issue when compiling extra scripts - in this case it wasn't packaging the plugin correctly. I've updated the framework to fix this so if you run `npm run update` it should work now.

---

<div class="post-metadata">

**Author:** ![ambrt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ambrt/32/4428_2.png) [@ambrt](https://discourse.joplinapp.org/u/ambrt)\
**Post date:** [13 January 2021 16:02 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/29 "2021-01-13T16:02:50Z")

</div>

New generator works. Thanks!

---

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://discourse.joplinapp.org/u/Dave)\
**Post date:** [29 August 2021 22:40 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/30 "2021-08-29T22:40:00Z")

</div>

I'd like to add my plugin to the list of plugins found here - [Plugin List](https://discourse.joplinapp.org/t/plugin-list/17671/1)

Can some one provide simple step-by-step instructions please?

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [29 August 2021 22:51 UTC](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635/31 "2021-08-29T22:51:40Z")

</div>

You need to run npm publish. The script will then pick it up and add it to the plugin repo and list automatically.  
More steps here: [joplin/packages/generator-joplin at dev · laurent22/joplin · GitHub](https://github.com/laurent22/joplin/tree/dev/packages/generator-joplin#publishing-the-plugin)

[Previous page](https://discourse.joplinapp.org/t/official-joplin-plugin-repository-is-now-ready-if-you-are-developing-a-plugin-please-read-on/13635.md?page=1)
