Help! Broke my installation

There is a discussion here about similar problems with updating nodes.
They seem to suggest that deleting the file / folder - in your case /home/pi/.node-red/node_modules/detect-libc ? will let you successfully install.
It's not a very helpful error message though, does it mean rename it to .detect-libc-pGdKpy0q or does the -> mean something else?