Install missing packages from package.json

Hi, before I opening a Github Issue, I want to ask maybe I am missing something.

I'm looking for a way to implement a new flow on my local environment, and then push the updates to remote Docker deployment.

The only problem is that I have to run npm install in the remote machine, in case I added a new library.

Why not add an option to the Node-Red instance to run npm install on startup?

Take a look at the Projects feature Projects : Node-RED

1 Like

Is it can install the packages from package.json automatically, on load (and not from the UI)?

Can you install the necessary packages in the docker file?

1 Like

Yes, but for that, I need to create a custom Dockerfile, and recreate the image if I changed the package.json.

Take a look on my solution:

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