在Mac上安装Log.io时出错

当我第一次尝试安装log io时,出现这个错误,使用npm

sudo npm install -g log.io –user“ubuntu”

Error: setuid user id does not exist at /usr/local/lib/node_modules/npm/node_modules/uid-number/uid-number.js:49:16 at ChildProcess.exithandler (child_process.js:742:7) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1015:16) at Socket.<anonymous> (child_process.js:1183:11) at Socket.emit (events.js:107:17) at Pipe.close (net.js:485:12) 

       

网上收集的解决方案 "在Mac上安装Log.io时出错"