magento2-sample-data icon indicating copy to clipboard operation
magento2-sample-data copied to clipboard

Issue while deploying sample-data

Open NajlaeElAzzouzi opened this issue 9 years ago • 7 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.

NajlaeElAzzouzi avatar Jan 30 '17 10:01 NajlaeElAzzouzi

See this Issue (and solution)

andrea-peter avatar Jul 11 '17 11:07 andrea-peter

@NajlaeElAzzouzi

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

skashish avatar Jul 21 '17 05:07 skashish

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

NajlaeElAzzouzi avatar Jul 21 '17 07:07 NajlaeElAzzouzi

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

itm2018 avatar Jul 09 '18 06:07 itm2018

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

itm2018 avatar Jul 09 '18 08:07 itm2018

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.*"
...
}

itm2018 avatar Jul 09 '18 08:07 itm2018