0

I am trying to install Magento2 version 1.0.0-beta.

I followed instructions about installing sample data from: http://devdocs.magento.com/guides/v2.0/install-gde/install/sample-data.html

I enabled sample data before installing Magento and at the end of installation, I got the following error:

Error during sample data installation: Source class "\Magento\SampleData\Model" for "Magento\SampleData\Model\Logger" generation does not exist

I then tried installing sample data after installing Magento. I am getting the following error while installing sample data after installing Magento:

[InvalidArgumentException] There are no commands defined in the "sampledata" namespace.

7ochem
7,61516 gold badges54 silver badges82 bronze badges
asked Aug 20, 2015 at 5:10
2
  • use the master branch instead of develop branch Commented Aug 27, 2015 at 9:00
  • Just found the same issue in Magento Version 2.3.4 Edition Enterprise Commented Aug 13, 2020 at 22:25

2 Answers 2

0

Did you download version 1.0.0-beta from the releases page (or master branch), or off of the current develop branch?

My understanding is that the develop branch is not stable/sample data won't work, but it should be fine if you're using the official beta1 release. You can find that here: https://github.com/magento/magento2/releases

answered Aug 20, 2015 at 16:01
1
  • git branch shows * 1.0.0-beta. I am using the 1.0.0-beta from the releases page. Commented Aug 21, 2015 at 6:01
0

Had to delete old magento2 files and directory & redo the whole thing.

  • Deleted the whole magento2 directory
  • Cloned magento2 again
  • Enabled sample data before installing Magento2
  • Installed Magento2
  • Finally, done!

Magento2 installed successfully with sample data.

answered Aug 27, 2015 at 6:10

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.