Guest User

Untitled

a guest
Jun 22nd, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. "name": "VENDOR/MODULENAME",
  2. "description": "description",
  3. "require": {
  4. "php": "~5.5.0|~5.6.0|~7.0.0"
  5. },
  6. "type": "magento2-module",
  7. "url": "git@bitbucket.org:VENDOR/MODULENAME.git",
  8. "version": "0.1.0",
  9. "license": [
  10. "OSL-3.0",
  11. "AFL-3.0"
  12. ],
  13. "extra": {
  14. "map": [
  15. [
  16. "*",
  17. "VENDOR/MODULENAME"
  18. ]
  19. ]
  20. },
  21. "autoload": {
  22. "files": [
  23. "registration.php"
  24. ],
  25. "psr-4": {
  26. "VENDOR\MODULENAME\": ""
  27. }
  28. }
  29. }
  30.  
  31. {
  32. "type": "vcs",
  33. "url": "git@bitbucket.org:VENDOR/MODULENAME.git"
  34. }
  35.  
  36. composer require VENDOR/MODULENAME
  37.  
  38. sudo php bin/magento setup:upgrade
  39.  
  40. Autoload error: Module 'VENDOR_MODULENAME' from '/var/www/html/magento2/sites/magento2_test3/app/code/VENDOR/MODULENAME' has been already defined in '/var/www/html/magento2/sites/magento2_test3/vendor/VENDOR/MODULENAME'
Add Comment
Please, Sign In to add comment