magento/magento2-sample-data

Issue while deploying sample-data

NajlaeElAzzouzi opened this issue · 6 comments

Hello,

I have errors while trying to deploy sample-data modules : php bin/magento sampledata:deploy . I'm using Magento EE 2.1.3. and a composer install. I also tried with "minimum-stability" to "dev.

The error stack is :
`Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package magento/module-gift-card-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-customer-balance-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-target-rule-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-gift-registry-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-multiple-wishlist-sample-data could not be found in any version, there may be a typo in the package name.

Potential causes:

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 checked the auth.json file and it's good. I cleared the composer cache, magento caches, the /var/generation and var/di directories nothing seems to work.

Thank you in advance.

See this Issue (and solution)

@NajlaeElAzzouzi

Hi, I'm facing the same problem.
Were you able to solve this?

Hello @skashish I couldn't solve it, so I just gave up. If ever you find a solution can you tell me about it?

I've got this problem too when upgrading from 2.2.4 to 2.2.5. Any suggestion?

Update composer to newest version (1.6.5) solved this problem for me.

You can also add these packages to your composer.json manually, then run: composer update

"require": {
....
"magento/module-bundle-sample-data": "100.*",
"magento/module-customer-sample-data": "100.*",
"magento/module-sales-sample-data": "100.*",
"magento/module-catalog-sample-data": "100.*",
"magento/module-cms-sample-data": "100.*",
"magento/module-theme-sample-data": "100.*",
"magento/module-widget-sample-data": "100.*",
"magento/module-catalog-rule-sample-data": "100.*",
"magento/module-sales-rule-sample-data": "100.*",
"magento/module-downloadable-sample-data": "100.*",
"magento/module-wishlist-sample-data": "100.*",
"magento/module-review-sample-data": "100.*",
"magento/module-tax-sample-data": "100.*",
"magento/module-msrp-sample-data": "100.*",
"magento/module-gift-card-sample-data": "100.*",
"magento/module-product-links-sample-data": "100.*",
"magento/module-configurable-sample-data": "100.*",
"magento/module-grouped-product-sample-data": "100.*",
"magento/module-customer-balance-sample-data": "100.*",
"magento/module-offline-shipping-sample-data": "100.*",
"magento/module-gift-registry-sample-data": "100.*",
"magento/module-target-rule-sample-data": "100.*",
"magento/module-multiple-wishlist-sample-data": "100.*",
"magento/sample-data-media": "100.*",
"magento/module-swatches-sample-data": "100.*"
...
}