Running node module locally:

In the directory containing the node’s package.json file, run: sudo npm link

In your node-red user directory, typically ~/.node-red run: npm link node-red-contrib-rocketchat