Node-red-contrib-i2c fails to install

Have you checked the more detailed install debug log? Certainly that error doesn't really tell us much.

What version of Rasbian are you using?