Skip to content

Problem with template luma #1004

Closed
Closed
@Antonioele

Description

@Antonioele

I have install Magento2 for second time I have same problem. Less don't work with exception:

[2015-01-28 16:18:51] main.CRITICAL: exception 'LogicException' with message 'magento_import returns empty result by path css/source/extend.less' in /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/Less/File/Collector/Aggregated.php:78 Stack trace: #0 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/Less/PreProcessor/Instruction/MagentoImport.php(97): Magento\Framework\Less\File\Collector\Aggregated->getFiles(Object(Magento\Core\Model\Theme), 'css/source/exte...') #1 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/Less/PreProcessor/Instruction/MagentoImport.php(78): Magento\Framework\Less\PreProcessor\Instruction\MagentoImport->replace(Array, Object(Magento\Framework\View\Asset\File)) #2 [internal function]: Magento\Framework\Less\PreProcessor\Instruction\MagentoImport->Magento\Framework\Less\PreProcessor\Instruction{closure}(Array) #3 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/Less/PreProcessor/Instruction/MagentoImport.php(80): preg_replace_callback('#//@magento_imp...', Object(Closure), '/**\n * Copyrigh...') #4 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/Less/FileGenerator.php(96): Magento\Framework\Less\PreProcessor\Instruction\MagentoImport->process(Object(Magento\Framework\View\Asset\PreProcessor\Chain)) #5 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/Css/PreProcessor/Less.php(41): Magento\Framework\Less\FileGenerator->generateLessFileTree(Object(Magento\Framework\View\Asset\PreProcessor\Chain)) #6 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/View/Asset/Source.php(147): Magento\Framework\Css\PreProcessor\Less->process(Object(Magento\Framework\View\Asset\PreProcessor\Chain)) #7 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/View/Asset/Source.php(90): Magento\Framework\View\Asset\Source->preProcess(Object(Magento\Framework\View\Asset\File)) #8 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/View/Asset/File.php(109): Magento\Framework\View\Asset\Source->getFile(Object(Magento\Framework\View\Asset\File)) #9 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/App/StaticResource.php(106): Magento\Framework\View\Asset\File->getSourceFile() #10 /opt/lampp/htdocs/magento2/lib/internal/Magento/Framework/App/Bootstrap.php(245): Magento\Framework\App\StaticResource->launch() #11 /opt/lampp/htdocs/magento2/pub/static.php(13): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\StaticResource)) #12 {main} [] []

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions