2

From magento 2.0.4 to 2.1.0 Component Dependency Error, how can i solve below error,

enter image description here

  • Do you have terminal access – ol'bob dole Apr 19 '18 at 8:44
  • I am just trying with localhost. – zus Apr 19 '18 at 9:06
  • How did you ever run composer if you don't have terminal? It's a requirement for running this update. – ol'bob dole Apr 19 '18 at 9:07
  • snag.gy/pqcPYr.jpg this is how i run the command – zus Apr 19 '18 at 9:23
0

Try deleting the contents of vendor and then in the terminal change into the root magento directory which should have composer.json.

Run composer install. If composer install fails, it will be because composer.lock is not up-to-date, so you should run composer update.

  • what i did was, just deleted all files form vendor, and run composer install, all files auto generated in vendor folder, after i try to upgrade i am getting same error what i was getting yesterday. – zus Apr 19 '18 at 9:08
  • how have you attempted the initial upgrade - in the admin wizard or using the composer.json? – ol'bob dole Apr 19 '18 at 9:21
  • what do you get when you run composer update? – ol'bob dole Apr 19 '18 at 9:24
  • My composer.json file : justpaste.it/4lpku highlight the line my change. – zus Apr 19 '18 at 9:27
  • Is right what i did in composer.json file – zus Apr 19 '18 at 9:29
0

Your issue is the module : module-wishlist-sample-data, you have two solutions :

  1. You update the module.

  2. You remove the module.

Case 1 (update) :

You run these commands:

  • composer update, php bin/magento setup:upgrade

Case 2 (remove) :

Uninstall module via composer :

  • php bin/magento module:uninstall -r <Vendor>_<Module>, php bin/magento setup:upgrade

Removing it manually :

I do not recommend this way, you can use it just if the other solutions really did not work or that you have removed the module not in the right way or you are stuck !

  1. Remove the module from vendor/{moduleName}

  2. Remove the whole line of module name in these files vendor/composer/:

    • autoload_files.php, autoload_psr4.php, autoload_real.php, autoload_static.php, installed.json
  3. php bin/magento setup:upgrade

  • Partially working, how can i solve new issue : snag.gy/IBvx1X.jpg – zus May 2 '18 at 4:49
  • Do a backup of all var folder content then try to remove all the content of this folder var – PЯINCƏ May 2 '18 at 7:20
  • I did already, but no use, not working... – zus May 2 '18 at 7:38
  • My magento ver : 2.0.0 and i am try to upgrade 2.1.7, Readiness check completed, still not upgrade. May i know possibilities of error. – zus May 2 '18 at 7:42
  • Try with a command line : composer require magento/product-community-edition 2.1.7 --no-update – PЯINCƏ May 2 '18 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.