How can I install my local subflow-module inside my docker-compose instance of node-red?
Well sure, that is one possibility. But it seams like a workaround.
There must exist a direct solution. Even if it's harder, I'm interested to see how it works.
Accessing the Docker instance and installing an npm dependency must be somehow possible.
I think I have misunderstood your question.
What do you exactly mean by "local subflow-module" ?
I thought you wanted your node-red flow files being part of your docker-compose github repository.
No, I am not interested in the deployment of node-red with modules.
I have made a subflow-module (this is a very new feature and does only work for >V1.3)
Now I would like to test it locally before pushing it to npm.
But I do not know how to enter the docker instance and install it from my local storage.
You can install local npm packages by the following methods...
npm install path/to/my/package/folder
or
- prepare the package using
npm pack
then you will get the filemy-node-1.0.0.tgz
which you can install at runtime via the palette manager
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.