Title: Cannot install packages
Last modified: August 20, 2017

---

# Cannot install packages

 *  [mat1989](https://wordpress.org/support/users/mat1989/)
 * (@mat1989)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-install-packages/)
 * Hi everyone,
 * I’m new here and was wondering if you guys could help me with an issue. I opened
   a issue on GitHub ([https://github.com/wp-cli/wp-cli/issues/4289](https://github.com/wp-cli/wp-cli/issues/4289))
   but was told this was the place to ask. The issue is when I try to install packages
   my terminal gets up to updating dependancies and then stops without installing
   the package, even though when you view the require composer file the packages
   are there. I’ve updated my CLI to 1.3.0 on all my machines (work macbook pro,
   imac, macbook and personal macbook pro) and I’m getting the same issue on all.
   I’ve set up my WP-CLI to work with MAMP and not sure if that is the reason.
 * Thanks for taking the time to view my message
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-install-packages%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [mat1989](https://wordpress.org/support/users/mat1989/)
 * (@mat1989)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-install-packages/#post-9425462)
 * After doing some debugging with `wp package install --debug iandunn/wp-cli-rename-
   db-prefix; echo $?` which gave me:
 *     ```
       Debug (bootstrap): No readable global config found (0.088s)
       Debug (bootstrap): No project config found (0.09s)
       Debug (bootstrap): argv: /usr/local/bin/wp package install --debug iandunn/wp-cli-rename-db-prefix (0.09s)
       Debug (bootstrap): ABSPATH defined: / (0.092s)
       Debug (bootstrap): Running command: package install (0.093s)
       Installing package iandunn/wp-cli-rename-db-prefix (dev-master)
       Updating /Users/Mat/.wp-cli/packages/composer.json to require the package...
       Using Composer to install the package...
       ---
       Loading composer repositories with package information
       Updating dependencies
       255
       ```
   
 * So I then did `composer install -vv; echo $?` and `composer update -vvv`, which
   gave the messages:
 *     ```
       Loading composer repositories with package information
       Installing dependencies (including require-dev) from lock file
       Dependency resolution completed in 0.000 seconds
       Analyzed 65 packages to resolve dependencies
       Analyzed 69 rules to resolve dependencies
       Nothing to install or update
       Generating autoload files
       0
       ```
   
 *     ```
       Reading ./composer.json
       Loading config file ./composer.json
       Checked CA file /private/etc/ssl/cert.pem: valid
       Reading /Users/Mat/.composer/composer.json
       Loading config file /Users/Mat/.composer/composer.json
       Reading /Users/Mat/Sites/mamp/SevenCapital/wp-content/themes/sevencapital/vendor/composer/installed.json
       Reading /Users/Mat/.composer/vendor/composer/installed.json
       Running 1.5.1 (2017-08-09 16:07:22) with PHP 7.0.20 on Darwin / 16.7.0
       Loading composer repositories with package information
       Downloading https://packagist.org/packages.json
       Writing /Users/Mat/.composer/cache/repo/https---packagist.org/packages.json into cache
       Updating dependencies (including require-dev)
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-2013.json from cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-2014.json from cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-2015.json from cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-2016.json from cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-2016-10.json from cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-2017-01.json from cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-2017-04.json from cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-2017-07.json from cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-archived.json from cache
       Downloading http://packagist.org/p/provider-latest%24281164a6e2f5ffc23655d06d2caf7698c1d626895a34dae9a1574cb36b146341.json
       Writing /Users/Mat/.composer/cache/repo/https---packagist.org/p-provider-latest.json into cache
       Reading /Users/Mat/.composer/cache/repo/https---packagist.org/provider-vlucas$phpdotenv.json from cache
       Downloading http://packagist.org/p/mobiledetect/mobiledetectlib%2413abe9f810c0ad1b871c9882f826f9101da17aae7c76976ec2c4cf8b4dd351cb.json
       Writing /Users/Mat/.composer/cache/repo/https---packagist.org/provider-mobiledetect$mobiledetectlib.json into cache
       Resolving dependencies through SAT
       Dependency resolution completed in 0.003 seconds
       Analyzed 136 packages to resolve dependencies
       Analyzed 417 rules to resolve dependencies
       Nothing to install or update
       Reading /Users/Mat/Sites/mamp/SevenCapital/wp-content/themes/sevencapital/vendor/composer/installed.json
       Reading ./composer.lock
       ```
   
 *  [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-install-packages/#post-9425795)
 * Hi [@mat1989](https://wordpress.org/support/users/mat1989/),
 * Can you review [this common memory-related fatal](https://make.wordpress.org/cli/handbook/common-issues/#php-fatal-error-allowed-memory-size-of-999999-bytes-exhausted-tried-to-allocate-99-bytes)
   to see if it’s the problem you’re experiencing?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot install packages’ is closed to new replies.

## Tags

 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-install-packages/#post-9425795)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
