构建时的grunt警告(grunt-contrib-compass)

时间:2013-09-25 15:54:22

标签: node.js npm gruntjs grunt-contrib-compass

我使用yoeman generator-angular来构建项目,现在我在构建时遇到错误。我收到了这个错误:

Running "concurrent:dist" (concurrent) task

    Running "coffee:dist" (coffee) task

    Running "coffee:test" (coffee) task

    Done, without errors.

    Elapsed time
    coffee:test  20ms
    Total        23ms

    Running "copy:styles" (copy) task
    Copied 2 files

    Done, without errors.

    Elapsed time
    copy:styles  29ms
    Total        29ms

        Warning: 
        /My/Project/Directory/node_modules/grunt-contrib-compass/node_modules/tmp/lib/tmp.js:261
          throw err;
                ^
        Error: spawn EACCES
            at errnoException (child_process.js:980:11)
            at Process.ChildProcess._handle.onexit (child_process.js:771:34) Used --force, continuing.

似乎是在咖啡之后发生:测试任务以及与grunt-contrib-compass插件有关。我无法在堆栈交换中找到任何帮助我的东西。

我正在跑步:

grunt-cli v0.1.8

grunt v0.4.1

npm 1.3.8

节点v0.10.18

我尝试更新发电机无济于事。我希望有人可以帮助我?

1 个答案:

答案 0 :(得分:3)

我有同样的错误,看起来Compass要么没有安装其他无法访问。我做的时候好多了:

> gem install compass

希望这有帮助!