UPDATE: Woohoo! That worked. Thanks again.
Thanks, I'll try the full path option. I haven't installed it using npm install uuid
because I'm running Node Red as a hass.io add-on under docker and it's (1) locked down a fair bit and (2) if I recreate the container I wouldn't remember to re-install. These are probably poor reasons, but I'm still finding my feet with the stack. I thought I could install the uuid node add-on within Node Red, and it would handle the install of uuid. And yes, as you say, I want to create UUIDs inside a function node because I need a few created each time, and multiple uuid nodes would be a pain, particularly given I need a function node anyway.