I have permission problem using npm. When I write "npm install"
Error: EACCES: permission denied, mkdir '/ItsMe' TypeError: Cannot read property 'get' of undefined at errorHandler (/usr/local/lib/node_modules/npm/lib/utils/error-handler.js:211:17) at /usr/local/lib/node_modules/npm/bin/npm-cli.js:83:20 at cb (/usr/local/lib/node_modules/npm/lib/npm.js:215:22) at /usr/local/lib/node_modules/npm/lib/npm.js:253:24 at /usr/local/lib/node_modules/npm/lib/config/core.js:81:7 at Array.forEach (native) at /usr/local/lib/node_modules/npm/lib/config/core.js:80:13 at f (/usr/local/lib/node_modules/npm/node_modules/once/once.js:25:25) at afterExtras (/usr/local/lib/node_modules/npm/lib/config/core.js:178:20) at Conf.<anonymous> (/usr/local/lib/node_modules/npm/lib/config/core.js:235:20) /usr/local/lib/node_modules/npm/lib/utils/error-handler.js:211 if (npm.config.get('json')) { ^ TypeError: Cannot read property 'get' of undefined at process.errorHandler (/usr/local/lib/node_modules/npm/lib/utils/error-handler.js:211:17) at emitOne (events.js:96:13) at process.emit (events.js:191:7) at process._fatalException (bootstrap_node.js:304:26) With a "ls -l" I have rwx rights. I don't understand what "Cannot read property 'get' of undefined" means.
I searched on the web and tried several things but it' doesn't work. Could you help me ?
Thank you
sudo npm install?