【发布时间】:2014-04-28 13:15:30
【问题描述】:
我正在运行一个安装了 nodeJs、ruby、yeoman、compass 等的项目。现在我使用命令运行我的项目
>grunt server 或 >grunt server --force
但它给了我罗盘的以下错误。
E:\CRM_workspace\CRM_from_repo\ria>grunt server --force
Running "server" task
>> The `server` task has been deprecated. Use `grunt serve` to start a server.
Running "serve" task
Running "clean:server" (clean) task
Cleaning .tmp...OK
Running "concurrent:server" (concurrent) task
Running "copy:styles" (copy) task
Done, without errors.
Running "compass:server" (compass) task
directory .tmp/styles/
create .tmp/styles/main.css (3.069s)
Warning: ↑ Used --force, continuing.
Done, but with warnings.
Running "autoprefixer:dist" (autoprefixer) task
Running "connect:livereload" (connect) task
Started connect web server on 127.0.0.1:9000.
Running "watch" task
Waiting...
我尝试卸载和安装 compass 和 sass。但'compass:server' 的错误仍然相同
我需要做什么?
这是我得到的详细信息错误:
E:\CRM_workspace\CRM_from_repo\ria>grunt serve
Running "serve" task
Running "clean:server" (clean) task
Running "concurrent:server" (concurrent) task
Running "copy:styles" (copy) task
Done, without errors.
Warning: Errno::EACCES on line ["891"] of C: Permission denied - (E:/CRM_wor
kspace/CRM_from_repo/ria/.tmp/styles/main.css20140321-4456-1klow8l, E:/CRM_works
pace/CRM_from_repo/ria/.tmp/styles/main.css)
Run with --trace to see the full backtrace Use --force to continue.
Aborted due to warnings.
Execution Time (2014-03-21 11:21:08 UTC)
concurrent:server 6.3s ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
Total 6.3s
【问题讨论】:
-
我在更新 compass 和 sass 后也得到了这个
-
在这个链接上得到了这个问题的答案:[在此处输入链接描述][1] [1]:stackoverflow.com/questions/22596760/…
标签: ruby node.js gruntjs yeoman compass-sass