BuildShipBBuildShip
Powered by
Chris Wright | Decision MasterC
BuildShip•2y ago•
5 replies
Chris Wright | Decision Master

NPM issues?

Is there currently a problem with the NPM packages? Everything I'm trying to create at the moment is creating errors for packages that can not be resolved...
chroma-js
express
canvas
To name a few
Solution
Hi @Chris Wright | Brandmember You can use AI to generate node with AI, it will import the desired packages correctly, you can specify in prompt to use which package. https://docs.buildship.com/ai-nodes

Also, if you import manually, make sure to always import any npm package using Named import declaration. Example:
import module from "module-name"; & 
import module from "module-name"; & 
import chroma from "chroma-js";
import chroma from "chroma-js";
;
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
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Installing NPM Package
tlawrenceTtlawrence / ❓・buildship-help
2y ago
Npm package versions
vlototskyiVvlototskyi / ❓・buildship-help
3y ago
npm install @google/generative-ai
entredsEentreds / ❓・buildship-help
3y ago
Migrating issues
Giovanni CoccoGGiovanni Cocco / ❓・buildship-help
15mo ago