I updated to v0.19.15 last night using the raspberrypi script and when I went to update a node tonight I got the following error:
npm ERR! code 128 npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/SenseTecnic/node-sqlite3.git /root/.npm/_cacache/tmp/git-clone-f161228a npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-f161228a': Permission denied npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-12-14T04_06_42_423Z-debug.log
I do run my node-red instance as root (don't remember why/how I messed that up and have been too lazy to go back and fix it) but I've never seen this issue with previous versions.
I wasn't able to install from the command line as SU either.
Let me know if it would help to pull the full debug log. Thanks.