cancel
Showing results for 
Search instead for 
Did you mean: 

module installation issue

module installation issue

Hello

i want install Babirusa_Toman module from github but when i enter this command "composer require babirusa/toman:dev-master" i got error

https://github.com/aminlatif/Babirusa_Toman

 

[coca@server public_html]$ composer require babirusa/toman:dev-master
./composer.json has been updated
Loading composer repositories with package information                                                                                 Updating dependencies (including require-dev)

mmap() failed: [12] Cannot allocate memory

mmap() failed: [12] Cannot allocate memory

Fatal error: Out of memory (allocated 198180864) (tried to allocate 1490944 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/Util/RemoteFilesystem.php on line 366
[coca@server public_html]$

i change my php memory limit to more But there is still a problem

please help me

 

3 REPLIES

Re: module installation issue

Hi @amnj,

 

I guess the problem is that the module isn't on packagist. But you can download the module and place it into app/code and it should work if the module is right.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: module installation issue

try this

composer require babirusa/toman:dev-master --ignore-platform-reqs

Let us know if that helps

Re: module installation issue

Hi @Sourabh Modi,

 

I guess that won't work because Composer won't find in any version of the package.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"