Hi!
I used My home monitoring before with raspberry PI and some term sensors and used MySQL node on my solution. Now I want export some configuration from my old to emonpi node-red, but when I try install node-red-node-mysql - over “Manage palette” or directly from ssh terminal then I get some errors,
sudo npm install node-red-node-mysql
npm ERR! Error: Attempt to unlock node-red-node-mysql, which hasn't been locked
npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/usr/share/npm/lib/cache/add-local.js:30:5)
npm ERR! at /usr/share/npm/lib/cache/add-local.js:47:20
npm ERR! at /usr/share/npm/lib/utils/locker.js:30:7
npm ERR! at /usr/lib/nodejs/lockfile.js:161:38
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 4.4.26-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-node-mysql"
npm ERR! cwd /home/pi
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! rofs EROFS, open 'npm-debug.log'
npm ERR! rofs This is most likely not a problem with npm itself
npm ERR! rofs and is related to the file system being read-only.
npm ERR! rofs
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.
npm ERR! System Linux 4.4.26-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-node-mysql"
npm ERR! cwd /home/pi
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path npm-debug.log
npm ERR! code EROFS
npm ERR! errno 56
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/npm-debug.log
npm ERR! not ok code 0
How I can install some nodes to node-red in emonpi ?