Gives the following error during setup
root@sunucu:/var/www/flarum# composer require flagrow/ads
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^0.2.0@beta for flagrow/ads
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them.
- Installing flagrow/ads (0.2.0-beta.1): Loading from cache
- Installing cdk2020/ads (0.2.0-beta.4): Downloading (failed) Failed to download cdk2020/ads from dist: The "https://api.github.com/repos/CDK2020/ads/zipball/62738c0d820f32ff4ffdbbb99d3d76eaa5d6a803" file could not be downloaded (HTTP/1.1 404 Not Found)
Now trying to download from source
- Installing cdk2020/ads (0.2.0-beta.4): Cloning 62738c0d82
[RuntimeException]
Failed to clone https://github.com/CDK2020/ads.git via https, ssh protocols
, aborting.
- https://github.com/CDK2020/ads.git
Cloning into '/var/www/flarum/vendor/cdk2020/ads'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/CDK2020/ads.git/'
- git@github.com:CDK2020/ads.git
Cloning into '/var/www/flarum/vendor/cdk2020/ads'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
root@sunucu:/var/www/flarum#