Skip to content

Cannot run php bin/magento setup:di:compile (have to delete contents of var/di) first #1679

@davefarthing

Description

@davefarthing

Running php bin/magento setup:di:compile

Results in
Autoload error: Argument 1 passed to Magento\Setup\Model\SampleData::__construct() must be an instance of Magento\Framework\App\Filesystem\DirectoryList, instance of Magento\Framework\ObjectManager\ObjectManager given, called in /Volumes/ExStorage/sites/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php on line 97 and defined

Works fine if i remove the contents of var/di first.

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