Abrar
Abrar5mo ago

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 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: 1. Add the required ES6 import statement(s) to your script (Image 1). 2. 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). ...
Jump to solution
2 Replies
Abrar
Abrar5mo ago
addendum: I get the following error... "You can mark the path "vcf" as external to exclude it from the bundle, which will remove this error."
Solution
nithinrdy
nithinrdy5mo ago
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: 1. Add the required ES6 import statement(s) to your script (Image 1). 2. 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). Hope this helps.