Hi together,
Raspberry pi2
nodejs version: 8.12.0
node-red version 19.4
i have problems updating my nodes...
i try that via the mange palette on the ui,
here is the log output:
10 Oct 10:52:34 - [info] Server now running at http://127.0.0.1:1880/
10 Oct 10:52:58 - [info] Upgrading module: node-red-dashboard to version: 2.9.8
10 Oct 10:53:32 - [warn] Installation of module node-red-dashboard failed:
10 Oct 10:53:32 - [warn] ------------------------------------------
10 Oct 10:53:32 - [warn] npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/engine.io/node_modules/mime-db
npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/engine.io/node_modules/mime-types
npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/node-red-dashboard
npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/engine.io/node_modules
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
npm ERR! path /home/pi/.node-red/node_modules/engine.io/node_modules/mime-db
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/home/pi/.node-red/node_modules/engine.io/node_modules/mime-db'
npm ERR! { Error: EACCES: permission denied, access '/home/pi/.node-red/node_modules/engine.io/node_modules/mime-db'
npm ERR! stack: 'Error: EACCES: permission denied, access '/home/pi/.node-red/node_modules/engine.io/node_modules/mime-db'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/home/pi/.node-red/node_modules/engine.io/node_modules/mime-db' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-10-10T08_53_32_760Z-debug.log
10 Oct 10:53:32 - [warn] ------------------------------------------
i already got that it has something to do with permissions?
what can i do to get rid of this?