在mac下安装yeoman经常会出现如下图错误: 解决办法:在命令行执行-- sudo chown -R $USER /usr/local/lib/node_modules回车就OK 转载于:https://www.cnblogs.com/sunhk/p/4592639.html