ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by  ioantihon 1 year, 9 months ago.

  • Creator
    Topic
  • #16073

    andytnumiko
    Participant

    Hi,

    I’m seeing this when I run oro:install:

    ———-

    Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodistribution
    Dumping all dev assets.
    Debug mode is off.

    11:37:09 [dir+] /var/www/sites/ca1/site/symfony/app/../web/bundles/tinymce

    11:37:09 [dir+] /var/www/sites/ca1/site/symfony/app/../web/css
    11:37:09 [file+] /var/www/sites/ca1/site/symfony/app/../web/css/oro.css

    [Exception]
    expected color value: line: 8

    ———-

    This seems to be near the last step because I can carry on and get Oro running, except that the oro.css file is obviously missing.

    This is a completely clean install, with no custom code, with a “composer install” run immediately beforehand.

    If I run “app/console assetic:dump” afterwards I get the same error.

    With verbose output, I get:

    ———-


    /var/www/sites/ca1/site/symfony/app/../web/bundles/orotracking/css/less/code.less
    /var/www/sites/ca1/site/symfony/app/../web/bundles/ororeminder/less/style.less
    /var/www/sites/ca1/site/symfony/app/../web/bundles/oroui/themes/oro/css/style.css

    [Exception]
    expected color value: line: 8

    Exception trace:
    () at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:3462
    lessc_parser->throwError() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:2005
    lessc->throwError() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:1191
    lessc->assertColor() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:1035
    lessc->colorArgs() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:1050
    lessc->lib_lighten() at n/a:n/a
    call_user_func() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:1419
    lessc->reduce() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:653
    lessc->compileProp() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:284
    lessc->compileProps() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:222
    lessc->compileCSSBlock() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:196
    lessc->compileBlock() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:658
    lessc->compileProp() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:284
    lessc->compileProps() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:222
    lessc->compileCSSBlock() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:196
    lessc->compileBlock() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:658
    lessc->compileProp() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:284
    lessc->compileProps() at /var/www/sites/ca1/site/symfony/vendor/leafo/lessphp/lessc.inc.php:222
    ….
    Symfony\Component\Console\Application->doRun() at /var/www/sites/ca1/site/symfony/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
    Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/sites/ca1/site/symfony/vendor/jms/job-queue-bundle/JMS/JobQueueBundle/Console/Application.php:45
    JMS\JobQueueBundle\Console\Application->doRun() at /var/www/sites/ca1/site/symfony/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:120
    Symfony\Component\Console\Application->run() at /var/www/sites/ca1/site/symfony/app/console:23

    ———-

    Any ideas?

    thanks

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #16514

    ioantihon
    Participant

    Hello,

    in app/config/config.yml add “paths”

    # Assetic Configuration
    assetic:
    filters:
    lessphp:
    paths: ["%kernel.root_dir%/../web/bundles"]

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.