Php Assetic给我一个FilterException,因为我更新到Fedora25

Php Assetic给我一个FilterException,因为我更新到Fedora25,php,node.js,symfony,fedora,assetic,Php,Node.js,Symfony,Fedora,Assetic,在将我的Fedora24更新为25之后,官方php版本从 因此,我安装了旧版本,使两者都可用(通过) 我重新安装node、nodejs和less,以便进行干净的安装 dnf install node nodejs npm install -g less 但由于我无法运行symfony 2 assetic命令: (使用php或php56运行它不会更改输出) $php应用程序/控制台断言:转储 正在转储所有开发人员资产。 调试模式已打开。 16:06:19[文件+]/var/www/project

在将我的Fedora24更新为25之后,官方php版本从 因此,我安装了旧版本,使两者都可用(通过)

我重新安装node、nodejs和less,以便进行干净的安装

dnf install node nodejs
npm install -g less
但由于我无法运行symfony 2 assetic命令: (使用php或php56运行它不会更改输出)

$php应用程序/控制台断言:转储
正在转储所有开发人员资产。
调试模式已打开。
16:06:19[文件+]/var/www/project/app/。/web/css/5a72185.css
[Assetic\Exception\FilterException]
运行时出错:
“节点“”/tmp/assetic_lessjBxrsP”
错误输出:
NameError:#grid>.core>.span在第199行第3列的/var/www/project/vendor/mopa/bootstrap bundle/mopa/bundle/bootstrap bundle/Resources/bootstrap/less/navbar.less中未定义:
198.导航栏固定底部。容器{
199#grid>.core>.span(@gridColumns);
200 }                                                                                                                                                                                   
输入:
/*!                                                                                                                                                                                     
*MopaBootstrapBundle
*                                                                                                                                                                                      
*版权所有2011 Mohrenweiser&Partner
*根据Apache许可证v2.0获得许可
* http://www.apache.org/licenses/LICENSE-2.0                                                                                                                                           
*                                                                                                                                                                                      
*在less文件中导入此文件,作为第一个能够从文件中访问less VAR的文件
*或
*将其添加到assetic或
*按照中的说明添加它http://www.lesscss.org 使用less.js(在这种情况下,可能必须调整Paths)
*                                                                                                                                                                                      
*使用less时要小心,这种方式可能最直接,但assetic不会检查包含的文件
*如果检测到此文件中的更改,将仅重新生成css!
*                                                                                                                                                                                      
*对于开发,直接在布局中包含所有较少的文件可能更容易
*但是,assetic将在自己的编译器会话中编译每个less文件,因此您不能将less样式混合到引导中,这可能不好
*/                                                                                                                                                                                     
//主引导。无入口点
@导入“../../bootstrap/less/bootstrap.less”;
//变数
dnf install node nodejs
npm install -g less
$ php app/console assetic:dump
Dumping all dev assets.
Debug mode is on.

16:06:19 [file+] /var/www/project/app/../web/css/5a72185.css


  [Assetic\Exception\FilterException]                                                                                                                                                     
  An error occurred while running:                                                                                                                                                        
  'node' '/tmp/assetic_lessjBxrsP'                                                                                                                                                        
  Error Output:                                                                                                                                                                           
  NameError: #grid > .core > .span is undefined in /var/www/project/vendor/mopa/bootstrap-bundle/Mopa/Bundle/BootstrapBundle/Resources/bootstrap/less/navbar.less on line 199, column 3:  
  198 .navbar-fixed-bottom .container {                                                                                                                                                   
  199   #grid > .core > .span(@gridColumns);                                                                                                                                              
  200 }                                                                                                                                                                                   
  Input:                                                                                                                                                                                  
  /*!                                                                                                                                                                                     
   * MopaBootstrapBundle                                                                                                                                                                  
   *                                                                                                                                                                                      
   * Copyright 2011 Mohrenweiser & Partner                                                                                                                                                
   * Licensed under the Apache License v2.0                                                                                                                                               
   * http://www.apache.org/licenses/LICENSE-2.0                                                                                                                                           
   *                                                                                                                                                                                      
   * Import this file in your less files as first to be abled to access less vars from your file                                                                                          
   * OR                                                                                                                                                                                   
   * Add it to the stylesheets of assetic or                                                                                                                                              
   * Add it as described on http://www.lesscss.org with the less.js (maybe pathes must be adapted in that case)                                                                           
   *                                                                                                                                                                                      
   * Be careful when using less this way, might be most straight forward, but assetic doesnt check the included files                                                                     
   * for changes, and will only regenerate the css if it detects changes in this file!                                                                                                    
   *                                                                                                                                                                                      
   * For development it might be easier to include all you less files in the layout directly                                                                                              
   * But then assetic will compile each less file in a own compiler session so you cant mix in the less style into bootstrap, which might not be OK                                       
   */                                                                                                                                                                                     
  // Main bootstrap.less entry point                                                                                                                                                      
  @import "../../bootstrap/less/bootstrap.less";                                                                                                                                          
  // variables                                                                                                                                                                            
  @iconSpritePath:       "/bundles/mopabootstrap/img/glyphicons-halflings.png";                                                                                                           
  @iconWhiteSpritePath:  "/bundles/mopabootstrap/img/glyphicons-halflings-white.png";                                                                                                     
  // The Paginator less for MopaBootstrapBundle                                                                                                                                           
  @import "paginator.less";                                                                                                                                                               
  // The Subnav less for MopaBootstrapBundle                                                                                                                                              
  @import "subnav.less";                                                                                                                                                                  
  // Collection support for MopaBootstrapBundle                                                                                                                                           
  @import "collections.less";                                                                                                                                                             
  // Collection support for MopaBootstrapBundle                                                                                                                                           
  @import "google-maps.less";                                                                                                                                                             
  // if you have any variables.less file INCLUDE IT AFTER EVERYTHING cause responsive.less also overrides it with the one from bootstrap!!!!!                                             


assetic:dump [--forks FORKS] [--watch] [--force] [--period PERIOD] [--] [<write_to>]