Assetic SASS编译错误

时间:2014-08-28 09:30:03

标签: symfony sass assetic cloud9-ide

我试图在Cloud9 IDE / VM上运行Symfony 2项目。我已经安装了所有必需的库但由于某种原因,Assetic无法编译SASS文件。

[Assetic\Exception\FilterException]                                                                                                                 
  An error occurred while running:                                                                                                                    
  '/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby' '/mnt/shared/sbin/sass' '--load-path' '/home/ubuntu/workspace/lossless-webapp/app/../web/css' '--scss'  
   '--cache-location' '/tmp' '/tmp/assetic_sassoc5zv2'                                                                                                
  Error Output:                                                                                                                                       
  /mnt/shared/sbin/sass:1: unknown regexp options - hard                                                                                              
  /mnt/shared/sbin/sass:1: no .<digit> floating literal anymore; put 0 before dot                                                                     
  ..._PATH=/mnt/shared/lib/ruby/1.9.1 /nix/store/yrs58pvf72cn1mca...                                                                                  
  ...                               ^                                                                                                                 
  /mnt/shared/sbin/sass:1: syntax error, unexpected tINTEGER, expecting '('                                                                           
  ...PATH=/mnt/shared/lib/ruby/1.9.1 /nix/store/yrs58pvf72cn1mcax...                                                                                  
  ...                               ^                                                                                                                 
  /mnt/shared/sbin/sass:1: no .<digit> floating literal anymore; put 0 before dot                                                                     
  ...n1mcax0s685yw2dqzzvqv-ruby-1.9.3-p484/bin/sass "$@"                                                                                              
  ...                               ^                                                                                                                 
  /mnt/shared/sbin/sass:1: syntax error, unexpected tINTEGER, expecting '('                                                                           
  ...1mcax0s685yw2dqzzvqv-ruby-1.9.3-p484/bin/sass "$@"                                                                                               
  ...                               ^                                                                                                                 
  /mnt/shared/sbin/sass:1: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('                                                   
  ...zvqv-ruby-1.9.3-p484/bin/sass "$@"                                                                                                               
  ...                               ^                                                                                                                 
  Input:
  ... 

据我所知,这是Assetic的SASS调用问题,但我不知道如何解决这个问题。

1 个答案:

答案 0 :(得分:0)

我们刚刚在文档网站上更新了有关使用Symfony的文档(感谢Timo Haberkern):https://docs.c9.io/frameworks_symfony2.html

这篇文章有帮助吗?如果没有,你会在哪里遇到困难,包括步骤,错误信息等。