I did a clean OS X install. I installed node and node red as before and back then I didn't have any problems. Now with this fresh installation I cannot install anything from manage palettes or using npm install command.
Below is errors/log. Can anyone help with this one? Now I have High sierra OSX. Before that I was running El capitan and I did't have same problems. I'm stuck and cannot get my old configuration to work because I cannot install any nodes I need.
npm WARN checkPermissions Missing write access to /Users/xxxx/node_modules/node-red-dashboard
npm WARN enoent ENOENT: no such file or directory, open '/Users/xxxx/package.json'
npm WARN xxxx No description
npm WARN xxxx No repository field.
npm WARN xxxx No README data
npm WARN xxxx No license field.
npm ERR! path /Users/xxxx/node_modules/node-red-dashboard
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/Users/xxxx/node_modules/node-red-dashboard'
npm ERR! { Error: EACCES: permission denied, access '/Users/xxxx/node_modules/node-red-dashboard'
npm ERR! stack: 'Error: EACCES: permission denied, access '/Users/xxxx/node_modules/node-red-dashboard'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/Users/xxxx/node_modules/node-red-dashboard' }
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! /Users/xxxx/.npm/_logs/2019-06-17T08_35_22_592Z-debug.log