cakephp-cors icon indicating copy to clipboard operation
cakephp-cors copied to clipboard

cake-3 install

Open rrd108 opened this issue 5 years ago • 1 comments

I got an error on install

composer require ozee31/cakephp-cors:^1

./composer.json has been updated
Running composer update ozee31/cakephp-cors
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Downloading ozee31/cakephp-cors (v1.1.7)
  - Installing ozee31/cakephp-cors (v1.1.7): Extracting archive
    Failed to extract ozee31/cakephp-cors: (9) unzip -qq  '/home/rrd/public_html/stockR/vendor/composer/tmp-0f9bf3ab28babd25a62399a45ac45279' -d '/home/rrd/public_html/stockR/vendor/composer/d9696070'

unzip:  cannot find or open /home/rrd/public_html/stockR/vendor/composer/tmp-0f9bf3ab28babd25a62399a45ac45279.

    This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
    See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
> Cake\Composer\Installer\PluginInstaller::postAutoloadDump

rrd108 avatar Nov 30 '20 12:11 rrd108

It seems to be a common error with composer 2

rrd108 avatar Nov 30 '20 12:11 rrd108