HI mates, I got a trouble, since “node-red-contrib-i2c 0.5.2" has an uncomfortable behaviour sending to I2C device a static command in anycase, and I need all datas to be dynamic, so I tried to change myself the script. I stopped service, edited, saved and started again, but haven't noticed changes. This way it work for modules .html files, but not for js now I realized, I suppose they should be compiled, and it has been done probably when I installed them.
Anyway to make it work I rebooted, and now I can't use more those modules,
Flows stopped due to missing node types.
And on console I have:
Waiting for missing types to be registered:
16 Jan 22:56:20 - [info] - i2c in
16 Jan 22:56:20 - [info] - i2c out
Maybe I made a mistake in .js, which I corrected now, but how can I recompile/register the module again?
I executed npm rebuild under /home/pi/.node-red/ folder and I reboot too, but not solved..
Another question, is the file .json used during the installation (inside the module .zip) a way to control hash of the file and avoid any modifications? For this reason I can't use it more?
I don't understand, if modules are compiled, why after edit and reboot it de register the module? I didn't delete any file! just created a backup copy of file .js in the same folder, is this the problem?
Thank you a lot!