简体   繁体   English

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

[英]grunt warning on build (grunt-contrib-compass)

I used the yoeman generator-angular to build a project and now I am getting an error on the build. 我使用yoeman generator-angular来构建一个项目,现在我在构建时遇到错误。 I am getting this error: 我收到此错误:

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.

It seems to be happening after the coffee:test task and as to do with the grunt-contrib-compass plugin. 它似乎发生在咖啡之后:测试任务以及与grunt-contrib-compass插件有关。 I'm unable to find anything on stack exchange to help me. 我无法在堆栈交换中找到任何东西来帮助我。

I am running: 我在跑步:

grunt-cli v0.1.8 grunt-cli v0.1.8

grunt v0.4.1 咕噜v0.4.1

npm 1.3.8 npm 1.3.8

node v0.10.18 节点v0.10.18

I tried updating the generator to no avail. 我尝试更新发电机无济于事。 I was hoping someone could help me? 我希望有人可以帮助我?

I had the same error, it looks like Compass is either not installed other not accessible. 我有同样的错误,看起来Compass要么没有安装其他无法访问。 It got better when I made: 我做的时候好多了:

> gem install compass

Hope this helps! 希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM