I can't install any module in Magento 2 with the composer. Here are the steps I used to install:
Navigated to the root directory of my Magento 2 installation folder and follow these steps:
Install via packaging
composer require pagseguro/magento2
Executed
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy
- chmod 777 -R var/ pub/
- composer update pagseguro/magento2
- composer update pagseguro/pagseguro-php-sdk
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy
But when I navigated to STORES -> CONFIGURATION -> SALES -> PAYMENT METHODS
The module isn't exist.
I tried, but it's not working. My magento directory is: public_html/clubedental/loja ...
Again, I tried the execution pointed from public_html/clubedental/loja/bin/magento
as below
php public_html/clubedental/loja/bin/magento setup:upgrade
php public_html/clubedental/loja/bin/magento setup:static-content:deploy
But still its not appearing.