ozee31 / cakephp-cors

A CakePHP (3.3+) plugin for activate cors domain in your application
MIT License
43 stars 31 forks source link

cake-3 install #31

Open rrd108 opened 3 years ago

rrd108 commented 3 years ago

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 commented 3 years ago

It seems to be a common error with composer 2