Steps to reproduce
- Install Magento from
2.1.0 RC1 branch.
- Run
bin/magento sampledata:deploy
Expected result
- composer.json is updated
- sample data is downloaded
Actual result
- Composer error
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package magento/module-widget-sample-data could not be found in any version, there may be a typo in the package name.
Problem 2
- The requested package magento/module-theme-sample-data could not be found in any version, there may be a typo in the package name.
Problem 3
- The requested package magento/module-offline-shipping-sample-data could not be found in any version, there may be a typo in the package name.
Problem 4
- The requested package magento/module-tax-sample-data could not be found in any version, there may be a typo in the package name.
Problem 5
- The requested package magento/module-bundle-sample-data could not be found in any version, there may be a typo in the package name.
Problem 6
- The requested package magento/module-catalog-sample-data could not be found in any version, there may be a typo in the package name.
Problem 7
- The requested package magento/module-wishlist-sample-data could not be found in any version, there may be a typo in the package name.
Problem 8
- The requested package magento/module-cms-sample-data could not be found in any version, there may be a typo in the package name.
Problem 9
- The requested package magento/module-customer-sample-data could not be found in any version, there may be a typo in the package name.
Problem 10
- The requested package magento/module-sales-sample-data could not be found in any version, there may be a typo in the package name.
Problem 11
- The requested package magento/module-swatches-sample-data could not be found in any version, there may be a typo in the package name.
Problem 12
- The requested package magento/module-configurable-sample-data could not be found in any version, there may be a typo in the package name.
Problem 13
- The requested package magento/module-product-links-sample-data could not be found in any version, there may be a typo in the package name.
Problem 14
- The requested package magento/module-review-sample-data could not be found in any version, there may be a typo in the package name.
Problem 15
- The requested package magento/module-msrp-sample-data could not be found in any version, there may be a typo in the package name.
Problem 16
- The requested package magento/module-grouped-product-sample-data could not be found in any version, there may be a typo in the package name.
Problem 17
- The requested package magento/module-sales-rule-sample-data could not be found in any version, there may be a typo in the package name.
Problem 18
- The requested package magento/module-catalog-rule-sample-data could not be found in any version, there may be a typo in the package name.
Problem 19
- The requested package magento/sample-data-media could not be found in any version, there may be a typo in the package name.
Problem 20
- The requested package magento/module-downloadable-sample-data could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
There is an error during sample data deployment. Composer file will be reverted
I find a way: 1: composer config repositories.magento composer https://repo.magento.com/packages.json 2: Update composer.json, change the minimum-stability to beta 3: composer update ( Need to input your mage market username and password) 4: magento sampledata:deploy 5: magento setup:upgrade
It works for me.
Still getting in 2.2.3
It works following the steps of @JustinWang24 but you have to skip the step of editing the composer.json (beta, now isn’t necesary), it would be like that:
1: composer config repositories.magento composer https://repo.magento.com/packages.json 2: composer update ( Need to input your mage market username and password) 3: magento sampledata:deploy 4: magento setup:upgrade
This issue is still replicable on 2.1.8
Hi @veloraven . Yes, the issue is still replicable. Magento repository has to be added by hand for sample data deploying (by
sampledata:deploycommand).