query
Noob question:
In my custom node, i need to use a package that is available via npm. How do i trigger this workflow to run the
In my custom node, i need to use a package that is available via npm. How do i trigger this workflow to run the
npm install command?Solution
Hey @Abrar, if you're talking about using a package as part of a node in your workflow, you do not actually need to manually install packages. BuildShip takes care of this behind the scenes. This is all you need to do:
- Add the required ES6 import statement(s) to your script (Image 1).
- Head to the Info section of the node editor and look for the "NPM Packages" section. Here you can configure your package (i.e. pick the version you'd like) (Image 2).