ubuntu 执行npm ,再不用sudo sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share} 后就可以了。