BuildShipBBuildShip
Powered by
AbrarA
BuildShip•2y ago•
4 replies
Abrar

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
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).

Hope this helps.
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

query
kumarkiranKkumarkiran / ❓・buildship-help
3y ago
Database Query
Gaurav ChadhaGGaurav Chadha / ❓・buildship-help
2y ago
query a firebase subcollection
ThomasTThomas / ❓・buildship-help
2y ago
Re-run a query
solSsol / ❓・buildship-help
2y ago