beetboxvm / beetbox

Pre-provisioned L*MP stack
http://beetbox.rtfd.org
92 stars 19 forks source link

php-imap is a new requirement? #412

Closed ivangrynenko closed 7 years ago

ivangrynenko commented 7 years ago

When running composer require --dev beet/box

OS: MacOS 10.12.5 Beta

The following error interrupts the installation. Is this a new dependency on php-imap module?

bash-3.2$ composer require --dev beet/box Using version ^0.5.1 for beet/box ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, deleting ./composer.json.

thom8 commented 7 years ago

@ivrh there's no explicit dependency set in this project -- https://github.com/beetboxvm/beetbox/blob/master/composer.json

I don't have the imap module loaded and it works in a empty directory.

Using version ^0.5.1 for beet/box
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing beet/box (0.5.1): Downloading (100%)
Writing lock file
Generating autoload files

You could try composer why php-imap/php-imap

thom8 commented 7 years ago

Also recommend checking you have the latest version - composer selfupdate This shouldn't be a requirement tho.

ivangrynenko commented 7 years ago

Thanks. The issue resolved, the cause was existing vendors in the docroot folder. I had to rearrange this project, moving it to /docroot/.