magepal / magento2-gmail-smtp-app

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
https://www.magepal.com
321 stars 147 forks source link

error on composer require magepal/magento2-gmailsmtpapp #66

Closed Darrendeng12 closed 7 years ago

Darrendeng12 commented 7 years ago

How to fix this?

Root package 'magepal/magento2-gmailsmtpapp' cannot require itself in its composer.json Did you accidentally name your root package after an external package?

How can i solve this error? the project directory is /r {Magento root}/vendor/MagePal/GmailSmtpApp

Darrendeng12 commented 7 years ago

the magento version is Magento Community Edition 2.1.7

srenon commented 7 years ago

The folder structure that composer create should be {Magento root}/vendor/magepal/magento2-gmailsmtpapp

srenon commented 7 years ago

Are you running composer from magento root folder?

See https://laracasts.com/discuss/channels/laravel/composer-require-laravelhomestead-doesnt-work https://github.com/firebase/php-jwt/issues/112 https://github.com/NicklasWallgren/PokemonGoAPI-PHP/issues/95

Darrendeng12 commented 7 years ago

I have just tried running the composer from magento2-gmailsmtpapp folder I did those steps and still have the same error

Darrendeng12 commented 7 years ago

@srenon thank,I think I know how to fix this error