Created
January 12, 2017 07:41
-
-
Save manoj-apare/468a106c51f27b80462ea52fa3135c52 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: | |
When I was trying to setup commerce 2.x in Drupal 8 using Acquia cloud. Faced an issue while enabling Address module. | |
Error I was getting is `Address requires the commerceguys/zone library.`. | |
But, when I checked vendor directory, in commerceguys libraries only zone is missing in Acquia cloud, | |
but the same is present in my local instance. | |
Solution: | |
Commerceguys zone library is installed from git repo, so it was having `.git/`. | |
In Acquia cloud sub respository won't be supported. | |
So what I did id deleted that .git inside zone directry and pushed the same to cloud. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alternate solution:
Add this to Drupal 8 composer.json:
Then whenever libraries is been updated we can run
composer remove-git-submodules
similar tocomposer drupal-update
to remove.git
sub repositories.