Installing npm package when installing node

Can I somehow make that when i install my node in node-red that it installs the required npm packages?

You add it as a dependency to your package.json.

"Specifying dependencies and devDependencies in a package.json file | npm Docs"

This is also documented in the node red docs for creating nodes. You have been pointed at those documents a number of times but I think maybe you need to read them again more carefully. Packaging : Node-RED

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.