如何解决重新编译错误,当通过npm咕噜咕噜没有pipe理员访问?

我需要为Windows 7中的项目安装安装grunt。但是,我遇到了一个问题,即每当我尝试全局安装grunt时,都会因权限错误而失败。

其他一些人有这个问题,其他一些人没有,出现的错误是

EPERM: operation not permitted, rename (insert npm global module path here)\grunt\node_modules\grunt-legacy-log-utils' -> '(insert npm global module path here)\grunt\node_modules\.grunt-legacy-log-utils.DELETE' 

要求pipe理员权限来安装软件是不允许的,我在哪里。

原来这个错误是通过重复执行npm cache cleannpm install

另外我们也有一个问题,因为它无法到达github下载二进制文件的节点。