【问题标题】:Bower: Warning: EPERM. Grunt cannot complete operationBower:警告:EPERM。 Grunt 无法完成操作
【发布时间】:2014-01-23 15:31:20
【问题描述】:

我已经按照此处的说明下载了适用于 Mac OS X 的 IE8 win XP 虚拟机:http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/

我还从 GitHub (https://github.com/angular/angular.js) 下载了 AngularJS 存储库 但是当我运行“grunt test”时它失败了:

警告:EPERM,重命名 'C:\Documents and Settings\IEUser\Application Data\bower\cache\packages\b49378d5565266ad51701fa65c017d3e_wildcard' 使用 --force 继续。

在此错误之前命令行中的最后一个条目是“bower: extract closure-compiler”。

我怎样才能让 Bower 工作?

PS。我已经尝试了这里https://github.com/bower/bower/issues/798 的所有方法,但没有任何帮助。

【问题讨论】:

    标签: javascript macos angularjs internet-explorer-8 bower


    【解决方案1】:

    将 bower 更新到 1.3.1 并执行 bower cache clean 也修复了此错误:

    npm uninstall -g bower
    npm install -g bower
    bower cache clean
    

    【讨论】:

      【解决方案2】:

      卸载 Bower 1.2.8 并安装 1.2.5 解决了这个问题。它一定是特定于操作系统的,因为 1.2.8 在我的 Mac OSX Maverics 上运行良好。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2017-04-28
        • 2017-01-07
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-05-27
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多