I have cloned the node-red version from github. I want to install it so if i install my custom nodes and i commit and push it to my git , I want the user that clones it from my git to have my nodes installed on it.
Is there a way to do that
That is not how Node-RED is set up. Users don't install from git. The git repo is really for developers only - it then gets built before being installed.
You can just add your nodes to your package.json - as we do with some external nodes here - node-red/package.json at master · node-red/node-red · GitHub
https://nodered.org/docs/getting-started/development
What is this for?
It's for exactly what it says:
Building and running the code from source is only intended for users who are happy to be using development code, or for developers wanting to contribute to the project.
If you describe what you are trying to achieve, then we can help guide you to the right way of doing it. Cloning the git repository is most likely not the right way to do it.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.