解决方法: npm config set user 0 npm config set unsafe-perm true 转载于:https://my.oschina.net/u/140777/blog/290709