A few days ago my pimatic installation stopped running and i started to get a lot of errors in the log.
So I decided to do a complete fresh install and reinstall Raspbian Jessie Lite on my RPi2.
After following the pimatic install steps and having installed NodeJS I get the errors while running npm install pimatic --prefix pimatic-app --production:
npm ERR! Linux 4.9.24-v7+
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “pimatic” “–prefix” “pimatic-app” "–production"
npm ERR! node v4.6.2
npm ERR! npm v2.15.11
npm ERR! path /tmp/npm-4599-fec1db46
npm ERR! code EROFS
npm ERR! errno -30
npm ERR! syscall mkdir
npm ERR! rofs EROFS: read-only file system, mkdir '/tmp/npm-4599-fec1db46’
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! Linux 4.9.24-v7+
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “pimatic” “–prefix” “pimatic-app” "–production"
npm ERR! node v4.6.2
npm ERR! npm v2.15.11
npm ERR! path npm-debug.log.2926915621
npm ERR! code EROFS
npm ERR! errno -30
npm ERR! syscall open
npm ERR! rofs EROFS: read-only file system, open 'npm-debug.log.2926915621’
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! Please include the following file with any support request:
npm ERR! /home/pi/npm-debug.log
Does anybody know why i’m getting this error?
Thanks in advance,
Jarno