ArielMejiaDev / larapex-charts

A Laravel wrapper for apex charts
https://larapex-charts.netlify.app/
MIT License
290 stars 84 forks source link

Error Instalation #4

Closed diorz38 closed 4 years ago

diorz38 commented 4 years ago

Environment: Win 10, PHP 7.2.11, Laravel 6.2

step to reproduce: composer require arielmejiadev/larapex-charts

Error


./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
The "http://repo.packagist.org/p/provider-latest%2470bb1ca087b7e92846ef5ca6199f4f9eda2f0bec0235fb904602ba000b829f27.json" file could not be downloaded: failed to open stream: HTTP request failed! 
http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/composer/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.```
diorz38 commented 4 years ago

i can manage to solve the problem with changing composer config.

ArielMejiaDev commented 4 years ago

This is not related to larapex its a memory issue with Composer if you run the:

composer require arielmejiadev/larapex-charts

Then if you have this type of error, just go to composer.json, check that larapex is in dev key, then make a composer update and it will be installed, to avoid this issue you must edit your php config to allow more memory on download, its not a larapex package related issue.