# Script to trigger flow library update after npm publish?

**URL:** <https://discourse.nodered.org/t/script-to-trigger-flow-library-update-after-npm-publish/61075>\
**Category:** General\
**Created:** [10 April 2022 16:00 UTC](https://discourse.nodered.org/t/script-to-trigger-flow-library-update-after-npm-publish/61075 "2022-04-10T16:00:16Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![tve](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tve/32/59475_2.png) [@tve](https://discourse.nodered.org/u/tve)\
**Post date:** [11 April 2022 05:59 UTC](https://discourse.nodered.org/t/script-to-trigger-flow-library-update-after-npm-publish/61075/12 "2022-04-11T05:59:17Z")

</div>

> [@Steve-Mcl](#):
>
> If you are seeing problems or differences, it would be great if you could report these but from my experience if it works using the install path or upload tgz methods then it works from the pallet manager and npm. Every time.

Yeah, I thought the same until: [Installing a module fails to install dependencies?](https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059)

I just tested the npm pack + upload (took me a minute to find the upload button...) and I can joyfully report that it seems to be bug-compatible with the install-from-library method.

> [@](#):
>
> The install path method is my primary method of developing since I can step debug in VS code. Only once I am happy with the operation do I npm publish. That has been successful for me for several years.

Is there documentation or do you have some short write-up on how to do the step debug in vscode, preferably when using docker to run NR?

NB: I'm not publishing before debugging my code, I'm publishing 'cause I have dependencies between 4 packages and am working with a collaborator so on an almost daily basis I need to make sure that when I write "I pushed a fixed version for you to test" it actually works...

Also, when I'm publishing for someone else, while I can test that dependencies work using the `npm pack`, that doesn't actually give me an end-to-end check that it's gonna work for others 'cause I may have forgotten/botched some update of a dependent package (yup, I'm already guilty). If I could update the flow library automatically as part of CI then this would not be an issue, but since I can't...

---

_[View the full topic](https://discourse.nodered.org/t/script-to-trigger-flow-library-update-after-npm-publish/61075)._
