We sacrifice by not doing any other technology, so that you get the best of Magento.

We sacrifice by not doing any other technology, so that you get the best of Magento.

    We were working on a project where we needed to upgrade a Magento store along with plugins.

    We came on the stage where we were working on the composer command.

    For those who are not aware with the role of composer command, let us share that in magento 2 you have to use composer command to update the version of Magento system and plugins.

    While working on the same we faced an issue.

    Some plugin repositories were not getting cloned.

    For example:

    medialounge_repo/magento2-share-my-basket.git

    To solve the problem, we removed below line from composer.json:

    git@bitbucket.org:medialounge_repo/magento2-share-my-basket.git

    Then we removed magento-2-share-my-basket section from repositories,

    From:

    "repositories": {
    	"0": {
    		"type": "composer",
    		"url": "https://repo.magento.com/"
    	},
    	"magento-2-share-my-basket": {
    		"type": "vcs",
    		"url": "git@bitbucket.org:medialounge_repo/magento2-share-my-basket.git"
    	},
    	"xtento": {
    		"type": "composer",
    		"url": "https://repo.xtento.com"
    	}
    }

    Replace:

    "repositories": {
    	"0": {
    		"type": "composer",
    		"url": "https://repo.magento.com/"
    	},
    	"xtento": {
    		"type": "composer",
    		"url": "https://repo.xtento.com"
    	}
    }

    Things worked for us when we chose this as solution.

    If you ever face such problem then you can use this trick. We’re sure this Magento hack will work for you.

    field_5bfb909c5ccae

      Get a Free Quote