Problem is that stream is missing the file dir-reader.js. So it won’t help to install dir-reader using npm.
Please check if the file /home/harryvanderwolf/pimatic/pimatic-app/node_modules/pimatic/node_modules/npm/node_modules/fstream/lib/dir-reader.js
is really missing.
If its missing you can try to install fstream again. Remove
/home/harryvanderwolf/pimatic/pimatic-app/node_modules/pimatic/node_modules/npm/node_modules/fstream
completely and run
sudo npm install
from
/home/harryvanderwolf/pimatic/pimatic-app/node_modules/pimatic/node_modules/npm/
.
This should install fstream again, hopefully including the missing file.